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

Re^3: How to declare arrays and scalars together?

by frozenwithjoy (Curate)
on Jun 18, 2012 at 05:40 UTC ( #976761=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ( @arr1, @arr2, @arr3 );
    my $var = 0;
    
  2. or download this
    my ( $var, @arr1, @arr2, @arr3 ) = 0;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2015-08-05 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (81 votes), past polls