Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: random variable declaration based on given count

by kcott (Archbishop)
on Mar 26, 2014 at 17:52 UTC ( [id://1079844]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ($var0, $var1, ..., $varN);
    
  2. or download this
    $ for i in 0 1 N; do eval var$i=x$i; done; echo "$var0 $var1 $varN"
    x0 x1 xN
    

Log In?
Username:
Password:

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

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

    No recent polls found