Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Perl Functions

by LanX (Saint)
on Mar 28, 2015 at 04:05 UTC ( [id://1121608]=note: print w/replies, xml ) Need Help??


in reply to Perl Functions

> What I'm stuck on is how to write a script that creates the array and pass that to the library,

something like this ?

DB<110> @a = map { int rand 100 } 1..5 => (61, 43, 71, 44, 61)

then call @ret=func(@a)

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)

PS: Je suis Charlie!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-16 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found