rucker has asked for the wisdom of the Perl Monks concerning the following question:
Basically what happens is I'll make a large number of changes (manually apply some patches, for instance) and I'll try perl -Tc file.pl. It dies with "Undefined subroutine &main::reallyisdefined..."
Now reallyisdefined REALLY IS DEFINED, so that's not the problem. It is in a seperately "require"d file, that file checks out fine (and in fact it wasn't changed).
I'm sure that if I spend the time looking at the code line by line, eventually I will find a syntax error in file.pl, but isn't there an easier way?
No, I'm not going to post the code, we're taking about > 15k lines.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tips for dealing with bogus syntax errors
by OM@HAL2001 (Novice) on Aug 10, 2001 at 12:10 UTC | |
by rucker (Scribe) on Aug 11, 2001 at 02:47 UTC | |
|
Re: Tips for dealing with bogus syntax errors
by rucker (Scribe) on Aug 09, 2001 at 21:12 UTC | |
|
Re: Tips for dealing with bogus syntax errors
by kjherron (Pilgrim) on Aug 14, 2001 at 01:18 UTC |