in reply to require() turns off strict?

Given the above responces, I have a question:

Lets say you have 10 .pm files your using in a program and one contains a list of global variables. As an example lets say one of them is $program_name = "foo"; and another is $version = "0.1";

If i wanted to use these through all the modules, AND use strict. How would I go abut doing this?

Replies are listed 'Best First'.
Re: Re: require() turns off strict?
by Matts (Deacon) on Jan 05, 2003 at 11:23 UTC
    Export them using Exporter and "use" the module containing the globals in each module you need those variables in.