Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^8: Getting for() to accept a tied array in one statement

by hdb (Monsignor)
on Apr 16, 2019 at 14:29 UTC ( #1232667=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1232667]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2021-04-11 17:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?