go ahead... be a heretic | |
PerlMonks |
Re^4: what difference between eval and do ?by ikegami (Patriarch) |
on Apr 19, 2018 at 20:14 UTC ( [id://1213191]=note: print w/replies, xml ) | Need Help?? |
I didn't take the title literally. The OP appears to asking why do BLOCK and eval BLOCK behave differently in the provided code. I did not set to list all the difference between eval BLOCK and do BLOCK, at least one of which hasn't been mentioned yet (do BLOCK's interaction with the while statement modifier).
In Section
Seekers of Perl Wisdom
|
|