RE: Help Needed
"Saravanan Jothilingam" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <[email protected]> |
Thanks for your mail. It will be appreciable if you could forward me the sample code if you have any. Thanks, Saravanan _____ From: [email protected] [mailto:[email protected]] On Behalf Of Tod Harter Sent: Wednesday, March 18, 2009 7:13 PM To: Bill Luebkert Cc: Saravanan Jothilingam; [email protected] Subject: Re: Help Needed 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