On Mon, 30 Apr 2007, Francesco Cecconi wrote:
> With the release >= 2.32, for many code upgrade, you must specify a
> ParseConfig reference.
>
> perl -w -e 'use Config::General; my $conf =
> Config::General::ParseConfig("/dev/null");'
>
> In the Config::General 2.32 Changelog the upstream Developer specify:
Yeah, the POD example really needs to be changed to address this, though:
SYNOPSIS ^
#
# the OOP way
use Config::General;
$conf = new Config::General("rcfile");
my %config = $conf->getall;
#
# the procedural way
use Config::General;
my %config = ParseConfig("rcfile");
[Should be use Config::General qw(ParseConfig); or Config::General::ParseConfig]
Don Armstrong
--
"There's nothing remarkable about it. All one has to do is hit the
right keys at the right time and the instrument plays itself."
-- Bach
http://www.donarmstrong.com http://rzlab.ucr.edu
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]