Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: How to pass array as a reference from one perl file to other

by Gangabass (Priest)
on May 15, 2011 at 09:07 UTC ( #904941=note: print w/ replies, xml ) Need Help??


in reply to Re: How to pass array as a reference from one perl file to other
in thread How to pass array as a reference from one perl file to other

You have a typo: my $array = ( 1, 2, 3, 4); should be my $array = [ 1, 2, 3, 4 ];


Comment on Re^2: How to pass array as a reference from one perl file to other
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2014-12-26 19:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (174 votes), past polls