Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Updating Hash from a config file

by siva kumar (Pilgrim)
on Oct 12, 2007 at 13:29 UTC ( [id://644480]=note: print w/replies, xml ) Need Help??


in reply to Updating Hash from a config file

Try this..
use Config::Simple; $Config={}; $confFile = "path/to/conf/file.conf"; Config::Simple->import_from($confFile,$Config); print $Config->{"section_nameX.varX"}; print $Config->{"section_nameY.varY"};

Log In?
Username:
Password:

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

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

    No recent polls found