http://qs321.pair.com?node_id=1232667


in reply to Re^7: Getting for() to accept a tied array in one statement
in thread Getting for() to accept a tied array in one statement

Agree. But the following is perfectly ok IMHO

for(@ar) { print "$_\n"; }

Replies are listed 'Best First'.
Re^9: Getting for() to accept a tied array in one statement
by Veltro (Hermit) on Apr 16, 2019 at 14:49 UTC
    Yes, that is perfectly fine IMO too