in reply to Translation modules and the importation of global language variables
It's used often enough, but not the way you're doing it. Usually, the file would become a proper module in the @INC and is used instead of required. I'm using a similar method for configuration files in an application I'm creating at work.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Translation modules and the importation of global language variables
by traxlog (Scribe) on Oct 08, 2003 at 20:50 UTC | |
by hardburn (Abbot) on Oct 08, 2003 at 21:02 UTC |