eval -> skip ahead to see if there is a " or a { nearby. read eval as "string eval" or "block eval" accordingly.Additionally, I suspect my brain was parsing out the "do" entirely since in many situations it is used simply because a block by itself won't work (ie. in the do/while construct).
Yet another little nuance to add to my mental Perl parser. Which makes me wonder if the common saying:
Nothing can parse Perl except perlShouldn't be re-phrased to something like:
Nothing can parse Perl except perl or Larry Wall's brain:)
In reply to Re^2: eval do {} -- magical variable assignment?
by aufflick
in thread eval do {} -- magical variable assignment?
by jkeenan1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |