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, FreezeThaw or Data::Dumper? > > <http://search.cpan.org/~mjd/Tie-File-0.96/lib/Tie/File.pm> > <http://search.cpan.org/~ilyaz/FreezeThaw-0.43/FreezeThaw.pm> > <http://search.cpan.org/~jhi/perl-5.8.0/ext/Data/Dumper/Dumper.pm>
Thanks I will try them. I think it's a bit weird I can't do this out of the box. Does anyone else? > Any of these could be effectively used for what you're describing. > > > -- > Chris Devers > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>