in reply to PAR packaging woes

No such file or directory at /work/software/perlbrew/perls/current/bin +/par.pl line 855.
I had expected a standalone script to not depend on par.pl
I don't think that error message is telling you that par.pl itself is missing, but rather that something which par.pl is trying to do in line 855 is causing a "no such file or directory" error.

Perhaps taking a look at that line will give you a clue what's going wrong?

Replies are listed 'Best First'.
Re^2: PAR packaging woes
by thomas11 (Novice) on Nov 03, 2010 at 08:27 UTC
    Thanks! Gotta learn to actually read the error messages... The failing line is an "eval { require Carp::Heavy }". This goes away when not including the core with -B.

    Unfortunately, now I get "Can't locate PAR/Heavy.pm". Even explicitly including the module using -M, as in

    pp -P -M PAR::Heavy -o scandeps.par.pl `which scandeps.pl`
    doesn't work, still the same error. I verified that the module gets included, but it isn't found at runtime.