RE: Need advanced help with tracking down warnings in eval'd functions

2004-12-09 Thread Kirk Bauer
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

Re: Need advanced help with tracking down warnings in eval'd functions

2004-12-09 Thread Kirk Bauer
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

RE: Need advanced help with tracking down warnings in eval'd functions

2004-12-09 Thread Bakken, Luke
> 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

Re: Need advanced help with tracking down warnings in eval'd functions

2004-12-09 Thread Jonathan Paton
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

Re: Need advanced help with tracking down warnings in eval'd functions

2004-12-09 Thread Paul Johnson
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

Need advanced help with tracking down warnings in eval'd functions

2004-12-09 Thread Kirk Bauer
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