in reply to require problems
From the require perldoc page:
Cheers,
Shendal
So, add this to the your stylesheet.pl file:The file must return TRUE as the last statement to indicate successful execution of any initialization code, so it's customary to end such a file with "1;" unless you're sure it'll return TRUE otherwise. But it's better just to put the "1;", in case you add more statements.
1; # return a one
Cheers,
Shendal
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: Re: require problems
by merlyn (Sage) on Sep 19, 2000 at 21:24 UTC | |
by chromatic (Archbishop) on Sep 19, 2000 at 21:40 UTC | |
by tye (Sage) on Sep 19, 2000 at 21:45 UTC | |
by merlyn (Sage) on Sep 19, 2000 at 22:04 UTC | |
by mirod (Canon) on Sep 19, 2000 at 22:19 UTC | |
| |
by Zarathustra (Beadle) on Sep 19, 2000 at 21:50 UTC | |
by Shendal (Hermit) on Sep 19, 2000 at 21:53 UTC | |
by Zarathustra (Beadle) on Sep 19, 2000 at 21:57 UTC | |
by Anonymous Monk on Sep 20, 2000 at 01:43 UTC | |
by Zarathustra (Beadle) on Sep 19, 2000 at 21:53 UTC | |
by merlyn (Sage) on Sep 19, 2000 at 22:05 UTC | |
by Zarathustra (Beadle) on Sep 19, 2000 at 21:47 UTC | |
by merlyn (Sage) on Sep 19, 2000 at 22:12 UTC | |
by extremely (Priest) on Sep 20, 2000 at 04:58 UTC | |
RE: Re: require problems
by Kurious (Novice) on Sep 19, 2000 at 22:22 UTC |
In Section
Seekers of Perl Wisdom