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 <ryanchan...@gmail.com> 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: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > > -- Bob Goolsby bob.gool...@gmail.com -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/