Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: dynamically generated array variable

by Tanktalus (Canon)
on Jan 02, 2007 at 20:39 UTC ( [id://592639]=note: print w/replies, xml ) Need Help??


in reply to dynamically generated array variable

Can you convert the config file to be of the form:

$config{<hostname>} = [ {a => value1, b => value }, {a => value, {b=>v +alue} ]
or
%config = ( <hostname> => [ {a => value1, b => value }, {a => value, {b=>value} + ] );
instead? It'll be much simpler to handle this way... it'll also be easier to handle FQDNs, too, if ever needed (just put the hostnames in quotes).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-19 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found