Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Adding a number from scalar variable to array name

by nobull (Friar)
on Sep 09, 2006 at 08:43 UTC ( [id://572125]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Adding a number from scalar variable to array name
in thread Adding a number from scalar variable to array name

Well I want to store more than one variable...

Why? (BTW: you are confusing variable and named variable).

Reason I want to do this is for example: I want my code to create the arrays @array1, @array2, @array3... I want @array1 = (1,2,3), @array2 = (4,5,6), etc

That's not a reason, it's just a restatement of the assertion that you want more than one named variable.

Please look deep within youself and see if you can actually find a reason why you want this.

  • Comment on Re^3: Adding a number from scalar variable to array name

Log In?
Username:
Password:

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

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

    No recent polls found