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

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

by nobull (Friar)
on Sep 09, 2006 at 08:43 UTC ( #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
Node Status?
node history
Node Type: note [id://572125]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2021-04-16 23:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?