Re: Help Needed

Tod Harter <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
Yeah, there are a few modules that can parse ini files. Config::Std is the
one that can do pretty much anything. Some of the other ones might be
simpler.

On Wed, Mar 18, 2009 at 9:24 AM, Bill Luebkert <[email protected]>wrote:

> pDale wrote:
> > On 2009/3/18 Saravanan Jothilingam <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> >     Using .ini file I need to fetch values to main.pl. Could you please
> >     send me the code if you have any?
> >
> >
> > While this should be off-topic (not about XML), let us take this
> > opportunity to say again, just in case anyone doesn't know:
> >
> > Do not use XML files for program configuration!
> >
> > To use something like Windows INI files (before MS did a thing worse
> > than XML for config and created the Registry), use the Perl module
> > Config::STD.  If you enter the command "perldoc Config::STD" at a shell
> > prompt, you should get all the help you need.
>
> I also see a module: Config::IniFiles which handles Windoze style ini
> files.
>
> Haven't ever used either, so you'll have to examine yourself.
> _______________________________________________
> Perl-XML mailing list
> [email protected]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>



-- 
The Wise adapts himself to the world. The Fool adapts the world to himself.
Therefore, all progress depends on the Fool.

_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.