Ahmet has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I'm testing Config::IniFiles module; this module working well before but now what happened, module methods are not running and returning fail...
Here is my example;
use Config::IniFiles; $overlay = Config::IniFiles->new(-file => 'test.ini'); $overlay->newval("section1", "arg1", "anotherval"); $overlay->WriteConfig(-delta=>1);
Running... return "fail"
C:\Documents and Settings\...\Desktop>t.pl
Can't call method "newval" on an undefined value at C:\Documents and Settings\...\Desktop\t.pl line 3.Ridiculous...
OS: Windows XP
Perl : v5.8.9 build 828
Config::IniFiles : v2.66
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Config::IniFiles , all methods return fail?
by linuxer (Curate) on Apr 19, 2011 at 22:09 UTC | |
by Ahmet (Novice) on Apr 19, 2011 at 22:32 UTC | |
Re: Config::IniFiles , all methods return fail?
by John M. Dlugosz (Monsignor) on Apr 19, 2011 at 23:57 UTC |