Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: accessing an anonymous array

by bart (Canon)
on Apr 13, 2020 at 10:06 UTC ( [id://11115442]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $r = ['a', 'b', 'c'];
    
  2. or download this
    my $r;
    {
        my @a = ('a', 'b', 'c');
        $r = \@a;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-20 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found