[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Eval number error message




I'm trying to compile HTML::Parser 3.06, but in the process I find that
the xsubpp wrapper I have is broken.  When I drag afile on it, I get this
error:

  # Couldn't run xsubpp: # Can't locate Nu:Development:MacPerl
:MacPerl_Src:perl:lib:ExtUtils:xsubpp in @INC.
  File '(eval 38)'; Line 1

If I run it again, the second line becomes

  File '(eval 40)'; Line 1

And so on; each time I run it, the number goes up by 2.  I've solved the
original error.  My question is, why this inscrutable location, and why
does it increase by two when repeated?

If you're still with me, the error was occurring on a line which eval'd a
require statement.

Other odd things...I tried printing @INC just before the eval line, but it
never printed anything, unless I changed it to a die "@INC\n".  But syntax
checking produced no errors.  Does perl evaluate the contents of the eval
before executing the print statement, but not at syntax-check time?

Live and learn.


--
MattLangford 




# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org