Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 romping around the Monastery: (6)
As of 2014-08-29 04:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls