in reply to Re^2: Getting for() to accept a tied array in one statement
in thread Getting for() to accept a tied array in one statement
Perl != Python
the closest to a drop in replacement is maybe a customfunction sub xfor (&&) :
xfor {@arr} sub { ...};
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Getting for() to accept a tied array in one statement
by perlancar (Hermit) on Apr 16, 2019 at 23:20 UTC | |
by LanX (Saint) on Apr 17, 2019 at 09:11 UTC | |
by hdb (Monsignor) on Apr 17, 2019 at 09:18 UTC | |
by LanX (Saint) on Apr 18, 2019 at 11:13 UTC | |
by hdb (Monsignor) on Apr 18, 2019 at 12:04 UTC | |
| |
by LanX (Saint) on Apr 17, 2019 at 11:33 UTC |