And, whist you're at it, take a good look at your "use case". I have yet to see a use of the PHP triple-equal that wasn't a band-aid to recover from a design error in the code.
B On Thu, Apr 22, 2010 at 8:55 AM, Ryan Chan <[email protected]> wrote: > How to do strong type comparsion in Perl, like in PHP > > e.g. > > // same type and same value > if ($foo === $bar) { > > } > > > -- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > http://learn.perl.org/ > > > -- Bob Goolsby [email protected] -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
