Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 studying the Monastery: (5)
As of 2025-04-25 11:20 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.