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. :)