Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: storing variable names in an array

by cool_jr256 (Acolyte)
on Jun 10, 2005 at 20:09 UTC ( [id://465667]=note: print w/replies, xml ) Need Help??


in reply to storing variable names in an array

Hope I understood your question...
$names[1]="sam";
That would replace "bob" with "sam" in the array.. but then again it's so hot in my office my brain is going crazy..

Replies are listed 'Best First'.
Re^2: storing variable names in an array
by omega_monk (Scribe) on Jun 10, 2005 at 20:17 UTC
    This would work if the array was an array of var names, but the OP has them as just strings..

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2025-05-23 05:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.