|Keep It Simple, Stupid|
Re: PAR packagingby tsee (Curate)
|on Jun 21, 2006 at 09:49 UTC||Need Help??|
I have constructed a simple test which does what you want but does not reproduce your problem:
Put this in t.pl:
And put this in the subdirectory lib in the file MyModule.pm
Now run this command:
Does this work for you? If not, please tell me what OS you are on, what version of PAR you are using and what version of perl you have. This was PAR 0.941, perl 5.8.7 on kubuntu/dapper/x86_64.
Finally a little explanation of your strace output. (I'm not an expert on strace, though.) The file 1ec196d6.pm is a filename-mangled version of one of the modules PAR uses internally. To find out which one it is, open it with an editor and look for the "package" declaration. Now, the fact that it is put into the 1/ subdirectory of the cwd() is most certainly a PAR bug. I will investigate that and appreciate any feedback.
Hope this helps,