in reply to strict and require.
then in the main code:package MyVars; use base Exporter; @EXPORT = qw($footer $header); # etc use CGI qw(font); # etc $footer = font(...); $header = font(...);
The default will pull in everything from @EXPORT.use MyVars qw($footer);
-- Randal L. Schwartz, Perl hacker
|
|---|