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::File,

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 must

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 way to move variable declarations

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 style

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. Thanks.

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: Hi all, What is the easiest way

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 must complain.

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 are not there, then the

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