Beefy Boxes and Bandwidth Generously Provided by pair Networks kudra
Don't ask to ask, just ask
 
PerlMonks  

Re: array naming

by le (Friar)
on Aug 14, 2000 at 18:43 UTC ( [id://27794]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to array naming

If I get your question right, you need something like this:
$var = "some_stupid_name"; @{$var} = qw(foo bar baz); print @some_stupid_name;
See 'perldoc perlref' for more information.

Replies are listed 'Best First'.
RE: Re: array naming
by KM (Priest) on Aug 14, 2000 at 18:46 UTC
    Also, look at these articles as to why you shouldn't (or may not want to) do this.

    Cheers,
    KM

RE: Re: array naming
by jrsmith (Pilgrim) on Aug 14, 2000 at 18:48 UTC
    thanx this is what i needed.. i'm proud of myself actually, this is what i had done more or less as a test to see if it would work, and it turned out to be right :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://27794]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.