|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re^2: Why does each() always re-evaluate its argument? (Updated x2 - experimental "for_list" )by eyepopslikeamosquito (Archbishop) |
| on Dec 06, 2023 at 23:30 UTC ( [id://11156148]=note: print w/replies, xml ) | Need Help?? |
|
> You may rather want to take a look at this newer (5.36 experimental) syntax: use experimental "for_list"; Just an FYI, in Re^7: Rosetta Code: Long List is Long (Updated Solutions - short Perl GRT and for_list), I excitedly changed one line from: to:
and it produced the identical result ... but, sadly, did not run appreciably faster. 👁️🍾👍🦟
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||