in reply to .ini file

Config::IniHash might do what you want, concretely.

If you are not committed to .ini style, consider YAML.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re^2: .ini file
by GrandFather (Saint) on Jul 30, 2005 at 22:40 UTC

      Dear GrandFather and other Monks,

      Thank you
      I got XML::Simple module to work however, I am concerned that I cannot use use strict; any more. What kind of risk can my program have?

      Thanks in advance for your time,
      Claire
Re^2: .ini file
by Real Perl (Beadle) on Jul 31, 2005 at 00:24 UTC

    I don't understand why once I try to run the .pl file that has either of those:

    #use Config::Tiny; #use Config::Simple; use Config::IniHash;

    I tried all of those modules separately but I am always getting : Can't locate Config/Tiny.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib.) at file.pl line 4
    BEGIN failed --compilation aborted at file.pl line 4.

    Any idea would be most appreciated.

    Thanks,


    Claire
      That error message means you have to *install* the module. See CPAN.pm, cpan or ppm as you prefer.