XP is just a number | |
PerlMonks |
Re: what difference between eval and do ?by Eily (Monsignor) |
on Apr 19, 2018 at 15:38 UTC ( [id://1213178]=note: print w/replies, xml ) | Need Help?? |
Another difference: return is the return value of the eval itself, but the return value of the function calling do.
In Section
Seekers of Perl Wisdom
|
|