From: "Roderich Schupp" <roderich.sch...@googlemail.com>
2009/4/20 Octavian Râşniţă <orasn...@gmail.com>:
I've created a .par archive with a Catalyst app under Windows XP Pro with
Perl 5.10.0 but I can't run a program from that archive because it gives
an
error.
I think PAR might not use a certain module which is needed...
Can't locate mro.pm in @INC (@INC contains: CODE(0x135753c)
OK, looks like mro.pm is missing.
mro seems to be a perl pragma starting with Perl 5.9.
For starters, can you re-create the par file explicitly requesting this
module,
e.g. if you used pp to create it then add "-M mro" to the command line.
If that works we can look into why this dependency was missed.
BTW, did you specify "-B" when you created the .par?
I created the .par archive of that Catalyst app using:
perl Makefile.PL
nmake
nmake test
nmake catalyst_par
For the moment I don't know where to look to see what code is executed when
doing nmake catalyst_par.
Cheers, Roderich
Thank you.
Octavian