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

Re^2: passing arrays to subroutines

by Anonymous Monk
on Apr 13, 2011 at 14:22 UTC ( #899199=note: print w/ replies, xml ) Need Help??

in reply to Re: passing arrays to subroutines
in thread passing arrays to subroutines

# an array, any array my @bunchOfData = (); # Subroutine: trythis - shows how to pass an array sub trythis { my @array = @_; print "@array\n"; } # where the subroutine is called to do something with the array &trythis(@bunchOfData);

Comment on Re^2: passing arrays to subroutines
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2015-12-01 07:13 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (795 votes), past polls