|
|
| Do you know where your variables are? | |
| PerlMonks |
Re^4: Breaking The Rules (eq,given)by tye (Sage) |
| on Jun 01, 2006 at 13:06 UTC ( [id://553093]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
As noted several times, 'eq' isn't "equals" it is "string equals" (and '==' is "number equals"). If you want to compare to 'undef', then you want 'given' (or 'when' or '~~', Perl6isms that'll appear in Perl5 soon enough - tye
In Section
Meditations
|
|
||||||||||||||||||||||||