Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by hdb (Monsignor)
on Apr 16, 2019 at 14:29 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1232667]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-18 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found