[Padre-dev] potential bug with File::ShareDir 1.00 and PAR
Gabor Szabo
szabgab at gmail.com
Wed Sep 10 08:58:31 PDT 2008
this is the file share.pl
use strict;
use warnings;
use File::ShareDir ();
use Pipe;
print File::ShareDir::dist_dir('File-ShareDir'), "\n";
print File::ShareDir::dist_dir('Pipe'), "\n";
it works well printing the two paths.
I build an executable (on Linux)
pp share.pl -o share.exe
moved it over to another computer without either File::Share or Pipe
and I get the following:
/tmp/par-gabor/cache-23253/inc/lib/auto/File/ShareDir
Failed to find share dir for dist 'Pipe' at script/share.pl line 7
The original problem was seen with Padre so my suspicion is that if the
name of the module does not contain :: File::ShareDir and PAR don't
play well together.
Gabor
More information about the Padre-dev
mailing list