in reply to strict and require.
You'll need to make $footer into a package variable. Add the line
use vars qw($footer);
to the top of vars.pl and remove any my declarations of $footer.
Of course, the best solution would be to make a MyVars.pm module.
Update: Ignore me, robin's right (as usual). I'm talking nonsense. I blame the Euro.
The module idea is still the best way to go tho'.
--"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: strict and require.
by robin (Chaplain) on Jan 03, 2002 at 00:45 UTC | |
|
Re: Re: strict and require.
by Baz (Friar) on Jan 02, 2002 at 22:21 UTC | |
by davorg (Chancellor) on Jan 02, 2002 at 22:33 UTC |