Re: manipulating configuration files package, object oriented? moose?

2011-02-03 Thread Octavian Rasnita
From: "Jim Green" Hello: I am confronted with a task of creating a package to manipulate a set of configuration files. for example I need to setup up a server and need to change lots of configuration files and create necessary sections, change values in the file etc. Also sometime

manipulating configuration files package, object oriented? moose?

2011-02-03 Thread Jim Green
Hello: I am confronted with a task of creating a package to manipulate a set of configuration files. for example I need to setup up a server and need to change lots of configuration files and create necessary sections, change values in the file etc. Also sometimes I modify the server set up and

RE: use of Configuration files

2008-07-30 Thread Stewart Anderson
> -Original Message- > From: mani kandan [mailto:[EMAIL PROTECTED] > Sent: 30 July 2008 17:50 > To: beginners@perl.org > Subject: use of Configuration files > > > Dear gurus, > > I want to know how to use configuration files concept in Perl, using >

use of Configuration files

2008-07-30 Thread mani kandan
Dear gurus,   I want to know how to use configuration files concept in Perl, using configuration files working with Perl scripts that is using reading an input from *.ini files and if possible sample files for my reference   Regards Manikandan

RE: Sourcing Configuration files

2004-11-03 Thread Larsen, Errin M HMMA/IT
-Original Message- From: Gavin Henry [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 4:15 AM To: Perl Beginners List Subject: Re: Sourcing Configuration files Chris Devers said: >> On Tue, 2 Nov 2004, Gavin Henry wrote: >> >>> What is the easiest

Re: Sourcing Configuration files

2004-11-03 Thread Chris Devers
On Wed, 3 Nov 2004, Gavin Henry wrote: > Chris Devers said: > > On Tue, 2 Nov 2004, Gavin Henry wrote: > > > >> What is the easiest way to move variable declarations out into a file > >> in /etc/ and requiring a perl program to read them in at startup. If > >> they are not there, then the program

Re: Sourcing Configuration files

2004-11-03 Thread Gavin Henry
Chris Devers said: > On Tue, 2 Nov 2004, Gavin Henry wrote: > >> What is the easiest way to move variable declarations out into a file >> in /etc/ and requiring a perl program to read them in at startup. If >> they are not there, then the program must complain. > > Have you considered using Tie::Fi

Re: Sourcing Configuration files

2004-11-02 Thread Chris Devers
On Tue, 2 Nov 2004, Gavin Henry wrote: > What is the easiest way to move variable declarations out into a file > in /etc/ and requiring a perl program to read them in at startup. If > they are not there, then the program must complain. Have you considered using Tie::File, FreezeThaw or Data::Du

Re: Sourcing Configuration files

2004-11-02 Thread Gavin Henry
Wiggins d Anconia said: >> Ramprasad A Padmanabhan said: >> > On Tue, 2004-11-02 at 13:41, Gavin Henry wrote: >> >> Hi all, >> >> >> >> What is the easiest way to move variable declarations out into a > file in >> >> /etc/ and requiring a perl program to read them in at startup. If >> they >> >>

Re: Sourcing Configuration files

2004-11-02 Thread Wiggins d Anconia
> Ramprasad A Padmanabhan said: > > On Tue, 2004-11-02 at 13:41, Gavin Henry wrote: > >> Hi all, > >> > >> What is the easiest way to move variable declarations out into a file in > >> /etc/ and requiring a perl program to read them in at startup. If they > >> are > >> not there, then the program m

RE : Sourcing Configuration files

2004-11-02 Thread Jose Nyimi
> -Message d'origine- > De : Ramprasad A Padmanabhan [mailto:[EMAIL PROTECTED] > Envoyé : mardi 2 novembre 2004 09:44 > À : Gavin Henry > Cc : perl beginners > Objet : Re: Sourcing Configuration files > > On Tue, 2004-11-02 at 13:41, Gavin Henry wrote: &g

Re: Sourcing Configuration files

2004-11-02 Thread Gavin Henry
Ramprasad A Padmanabhan said: > On Tue, 2004-11-02 at 13:41, Gavin Henry wrote: >> Hi all, >> >> What is the easiest way to move variable declarations out into a file in >> /etc/ and requiring a perl program to read them in at startup. If they >> are >> not there, then the program must complain.

Re: Sourcing Configuration files

2004-11-02 Thread Ramprasad A Padmanabhan
On Tue, 2004-11-02 at 13:41, Gavin Henry wrote: > Hi all, > > What is the easiest way to move variable declarations out into a file in > /etc/ and requiring a perl program to read them in at startup. If they are > not there, then the program must complain. > > Thanks. > You cannot source shell

Sourcing Configuration files

2004-11-02 Thread Gavin Henry
Hi all, What is the easiest way to move variable declarations out into a file in /etc/ and requiring a perl program to read them in at startup. If they are not there, then the program must complain. Thanks. P.S> I can't seem to find it in my O'reilly books. -- Just getting into the best langua

Re: Configuration files

2002-10-24 Thread Michael Fowler
On Thu, Oct 24, 2002 at 05:18:07PM +0530, vinai AR wrote: > 1. Is there any functions in perl like GetProfileString( ) and > SetProfileString( ) SDK functions, which are used to access the > windows INI files. Not built in. The Config::Ini module available on CPAN provides an interface to p

Configuration files

2002-10-24 Thread vinai AR
configuration files. We feel that  recreating the configuration file twice for calling the library with different input values, as overhead. We would like to know 1. Is there any functions in perl like GetProfileString( ) and SetProfileString( )  SDK functions, which are  used to access the windows