Actually the message said (eval 15) line 16, and I had no idea how to interpret that, but the code I gave you was part of the new fuctionality that I put in, so the problem is either there or in one of the two routines called from there... | [reply] |
That means the 15'th eval, on line 16, had the error.
The easiest way to make this error more understandable is to go to the last section of perlsyn and convince Perl to give you a more informative label for the eval than just "eval 15".
UPDATE
I should mention that in 5.005_03 there is a bug. The
preprocessor directive will not work if it is the first line of an eval. So add a return before the first line. (You will be setting the line number anyways so it doesn't really matter.)
| [reply] |