The stupid question is the question not asked | |
PerlMonks |
Re^3: Getting for() to accept a tied array in one statementby LanX (Saint) |
on Apr 16, 2019 at 16:00 UTC ( [id://1232675]=note: print w/replies, xml ) | Need Help?? |
you can't bend for into an object's method. Perl != Python the closest to a drop in replacement is maybe a customfunction sub xfor (&&) :
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|