good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Can't understand function returning undefsby rg0now (Chaplain) |
on Sep 24, 2010 at 21:50 UTC ( [id://861899]=note: print w/replies, xml ) | Need Help?? |
Here is what drives me crazy:
This prints OK3. According to the above, it should also print OK2 because (undef, undef) is a list of two elements that evaluates to 2 in scalar context. Still, it doesn't.
In Section
Seekers of Perl Wisdom
|
|