IMHO it is better to use one of the config modules (we use AppConfig) to do this
also see http://www.ibm.com/developerworks/linux/library/l-perl3/ Roey On Tue, Aug 31, 2010 at 12:47 PM, Levenglick Dov-RM07994 <rm07...@freescale.com> wrote: > > Hi, > Although this is bound to be the oldest question in the book, how do I > perform the C equivalent of #include "defines.h" in Perl 5.12 > I want to have a separate file that will define variables accessible to > all parts of my script. If it makes the answer any easier, they can > become environment variables (i.e. inserted into %ENV). > > > Best Regards, > Dov Levenglick > > > _______________________________________________ > Perl mailing list > Perl@perl.org.il > http://mail.perl.org.il/mailman/listinfo/perl _______________________________________________ Perl mailing list Perl@perl.org.il http://mail.perl.org.il/mailman/listinfo/perl