Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Reference to a sub return / Config::General

by freddo411 (Chaplain)
on Jan 22, 2004 at 22:04 UTC ( #323334=note: print w/replies, xml ) Need Help??


in reply to Reference to a sub return / Config::General

Try this working code for a file named config.dat:

use Config::General; my %CF = ParseConfig("config.dat");

-------------------------------------
Nothing is too wonderful to be true
-- Michael Faraday

Replies are listed 'Best First'.
Re: Re: Reference to a sub return / Config::General
by Oberon (Monk) on Jan 22, 2004 at 22:26 UTC
    > my %CF = ParseConfig("config.dat");

    Nice shortcut, freddo. I'll use that. Still has that copy in it though. :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2019-11-13 03:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (68 votes). Check out past polls.

    Notices?