Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Array reference problem

by hda (Chaplain)
on Jul 07, 2009 at 15:52 UTC ( [id://777917]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $name = sprintf "%s%s",'descriptor_array',$array_no;
    print @$name;
    
  2. or download this
    my @descriptor_array1 = ( 1, 2, 3, 4 );
    my @descriptor_array2 = ( 1, 2, 3, 4 );
    ...
    print @$name;   # prints "array_dummy!
    
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-06-15 23:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.