Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by Veltro (Hermit)
on Apr 16, 2019 at 14:24 UTC ( [id://1232666]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use ar ;
    my @ar ;
    my $art = tie @ar, "ar" ;
    @ar = (1, 2) ;
    
  2. or download this
       my @ar-deref = @{$art};
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-25 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found