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

Re: dynamically generated array variable

by ikegami (Patriarch)
on Jan 02, 2007 at 20:36 UTC ( #592638=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $hostname = 'hosta';
    my @host = do { no strict 'refs'; @$hostname };
    
  2. or download this
    my $hostname = 'hosta';
    my $host = do { no strict 'refs'; \@$hostname };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2023-06-11 01:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (40 votes). Check out past polls.

    Notices?