Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Question about how to return a array in subroutine to form a two dimensional array

by linuxkid (Sexton)
on Aug 06, 2012 at 16:04 UTC ( #985764=note: print w/ replies, xml ) Need Help??


in reply to Question about how to return a array in subroutine to form a two dimensional array

the generator of the array looks a little off, personally i would have used a ref, i.e. $array = [];, and done it manually, or with a loop.

--linuxkid


imrunningoutofideas.co.cc


Comment on Re: Question about how to return a array in subroutine to form a two dimensional array
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2014-10-01 16:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (29 votes), past polls