Home > Archive > PERL CGI Beginners > November 2006 > Handling ini files
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Handling ini files
|
|
| Cool Planet 2006-11-20, 7:55 am |
| hi ,
How can i handle config.ini file from perl cgi ? for example if i have some info that are stored in a file like
[billing info]
[content 1]
cat1 100
cat 2 200
[content 2]
aaaa 100
bbbb 200
where can i find proper guides ? could you please send me few valuable links?
Thanx in advance,
Kane.
---------------------------------
Sponsored Link
Mortgage rates near 39yr lows. $510,000 Mortgage for $1,698/mo - Calculate new house payment
| |
| Sean Davis 2006-11-20, 7:55 am |
| On Monday 20 November 2006 08:14, planet wrote:
> hi ,
>
> How can i handle config.ini file from perl cgi ?
>
> where can i find proper guides ? could you please send me few valuable
> links?
The answer for perl-based work is almost always on CPAN. Go to:
http://search.cpan.org
and type in 'ini' in the search box. You will get back these results, at
least one of which will likely suit your needs:
http://search.cpan.org/search?query=ini&mode=all
Sean
| |
| Paul Archer 2006-11-20, 6:55 pm |
| This isn't really a CGI question, but a straight Perl question.
Try CPAN (search.cpan.org). There's a module called something like
Config::Simple (or something to that effect) that should do just what you
want.
Paul
5:14am, planet wrote:
> hi ,
>
> How can i handle config.ini file from perl cgi ? for example if i have some info that are stored in a file like
>
> [billing info]
>
> [content 1]
> cat1 100
> cat 2 200
>
> [content 2]
>
> aaaa 100
> bbbb 200
>
>
> where can i find proper guides ? could you please send me few valuable links?
>
> Thanx in advance,
> Kane.
>
>
> ---------------------------------
> Sponsored Link
>
> Mortgage rates near 39yr lows. $510,000 Mortgage for $1,698/mo - Calculate new house payment
-------------------------------------------------------------------
Education in the U.S. has improved greatly under the George W. Bush
administration Now, 60% of 6th graders read at a higher level
than the President. Under President Clinton, few if any achieved
these levels of literacy.
-------------------------------------------------------------------
|
|
|
|
|