tinita has asked for the wisdom of the Perl Monks concerning the following question:

hi perl monks,

i'm trying to package a script plus some modules to a .par-file. everything works fine, except when one of the classes uses Class:DBI as a base class. then running the script just hangs and uses CPU.
here are some details:

$ cat partest.pl #!/usr/bin/perl use strict; use warnings; use ParTest; $ cat partest/ParTest.pm package ParTest; use strict; use warnings; use base 'Class::DBI'; 1; $ pp -p partest.pl -o partest.par -I partest $ cat par_run.pl #!/usr/bin/perl use strict; use warnings; use PAR 'partest.par'; use ParTest; print "loaded ParTest: $INC{'ParTest.pm'}\n"; END { print "Ending $0\n" } $ perl par_run.pl loaded ParTest: /tmp/par-tina/cache-...../0f313bdd.pm Ending par_run.pl <hangs forever using 99% CPU>
looking into partest.par shows me that Class/DBI.pm and other modules have been packaged.
i didn't find similar problems at google or super search. i'm using Class::DBI 0.96 and PAR 0.85

has anyone run into the same problem? otherwise i'll write to the mailing list.

update: creating an executable (pp partest.pl -o partest.plx -I partest) works fine, btw
update2: after trying out several versions - using PAR 0.79 (only for the "use PAR 'file.par'" part) works. i think i'll write autrijus