in reply to see perl output before run

You could try perl -MO=Deparse script.pl if you want to see how the interpreter sees the code.

You're sure you haven't redefined a subroutine that might exist in modules you're using?

Replies are listed 'Best First'.
Re: Re: see perl output before run
by Anonymous Monk on Mar 08, 2002 at 03:31 UTC
    I tried it and got: Can't call method "PADLIST" on an undefined value at C:/Dev/Perl/lib/B/Deparse.p m line 1039. CHECK failed--call queue aborted. I must have done something really good !
      That's just a bug in the old version of B::Deparse. Perl 5.8 will be available before too long and fix the problem, but until then you're out of luck.