Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Array name with a Variable

by Anonymous Monk
on Apr 18, 2008 at 05:34 UTC ( [id://681383]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @array1 = qw(c d e);
    my @array2 = qw(e f g h);
    # my @array3 = qw(a b d);  # original code
    my @array3 = qw(a a b d);  # modified for test
    my @array4 = qw(s g h j k l);
    
  2. or download this
    @array0, @array1: e - 1
    @array0, @array2: a d - 2
    ...
    @array1, @array2: a - 1
    @array1, @array3: g h - 2
    @array2, @array3: a - 1
    

Log In?
Username:
Password:

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

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

    No recent polls found