![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re^2: "last expression" quizby robin (Chaplain) |
on Oct 21, 2005 at 10:51 UTC ( #501957=note: print w/replies, xml ) | Need Help?? |
If the last thing that happened was an iteration of the do {} while $cond or do {} until $cond pseudo-loop, you get back a code reference (whether the condition turned out true of false). That sounds really strange, but sadly I can't reproduce it. I tried but the sub just seems to return 0. Can you give an example? (Also, what version of Perl are you using?)
In Section
Seekers of Perl Wisdom
|
|