Re: Configuration File generator

2005-04-25 Thread Offer Kaye
On 4/24/05, Tommy Nordgren wrote: > I wan't links to any useful tools for generating configure scripts in > perl. > That is, tools to automatically generate the configure script for > open-source > C/C++ projects. > Perl itself uses a "Configure" script generated using the "metaconfig" tool, whic

Re: Configuration File

2004-09-30 Thread Gunnar Hjalmarsson
Errin Larsen wrote: Gunnar Hjalmarsson wrote: Nothing prevents you from declaring @FILE_NAME: package Config; our @FILE_NAME; do "configtest.conf"; print "$_\n" for @FILE_NAME; doesn't that kinda defeat the purpose of declaring the Config name space? Can't see how. It is being decla

Re: Configuration File

2004-09-30 Thread Errin Larsen
On Thu, 30 Sep 2004 23:30:16 +0200, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote: > > Nothing prevents you from declaring @FILE_NAME: > > package Config; > our @FILE_NAME; > do "configtest.conf"; > print "$_\n" for @FILE_NAME; > > -- > Gunnar Hjalmarsson > Email: http://www.g

Re: Configuration File

2004-09-30 Thread Gunnar Hjalmarsson
Errin Larsen wrote: { package Config; do "configtest.conf" } print "$_\n" for( @Config::FILE_NAME ); Now, this code runs, and produces the expected output. However, it also gives me a warning: Name "Config::FILE_NAME" used only once: possible typo at ./configtest.pl line 7. I realize I can