Syntactic Confectionery Delight | |
PerlMonks |
Can you explain the result?by PerlOnTheWay (Monk) |
on Dec 06, 2011 at 13:15 UTC ( [id://942011]=perlquestion: print w/replies, xml ) | Need Help?? |
PerlOnTheWay has asked for the wisdom of the Perl Monks concerning the following question:
guess what? the result is $VAR1 = 1; anyone knows the reason? seems that Perl gives return the same priority as an ordinary sub,is this really a good design?
Back to
Seekers of Perl Wisdom
|
|