On Thu, 9 Dec 2004, Bakken, Luke wrote:
> Or modules for that matter. When I first read the eval trickery my first
> thought was "WHY???".
Well, I have a set of script files. Each file is split into an init
section and several different scripts. The init section is eval'd right
away and each sc
On Thu, 9 Dec 2004, Jonathan Paton wrote:
> Have you considered overloading the built-in warn instead of using a
> signal handlier?
How do I overload the built-in warn?
Would it catch warnings like "Use of undefined value in eq (==)" and
such?
If that doesn't work I can try to put together some
> Perl already has a mechanism for splitting a large program in to
> several smaller files.
>
> perldoc AutoLoader
Or modules for that matter. When I first read the eval trickery my first
thought was "WHY???".
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
Dear Kirk,
Perl already has a mechanism for splitting a large program in to
several smaller files.
perldoc AutoLoader
Have you considered overloading the built-in warn instead of using a
signal handlier?
Would it be possible to provide a simplifed example script? My
English isn't as good
as my
On Thu, Dec 09, 2004 at 07:16:02AM -0700, Kirk Bauer wrote:
> Not a beginner's question, but I don't know what other mailing list to
> use. Please direct me accordingly.
Not exactly mailing lists, but comp.lang.perl.moderated and
perlmonks.org might be helpful. (Actually, you can access
comp.la
Not a beginner's question, but I don't know what other mailing list to
use. Please direct me accordingly.
I have a Perl program that defines numerous functions by eval'ing a
string (read from an external file). I have a comprehensive
$SIG{__WARN__} handler but for errors in these functions all I