develooper Front page | perl.par | Postings from August 2008

Storable and pp --clean

Thread Next
From:
Ch Lamprecht
Date:
August 31, 2008 15:21
Subject:
Storable and pp --clean
Message ID:
48BB1952.4080300@online.de
Hi,

trying to pack an application that uses Storable with the --clean switch I got 
stuck:
Strawberry-perl 5.8.8
$Storable::VERSION    2.18
$PAR::Packer::VERSION 0.982

Thank you for any hints, Christoph

file testpp.pl:

use Data::Dumper;
use Storable;

my $data = retrieve('testfile');
print Dumper $data;


in cmd:

E:\devel\testpp>perl testpp.pl
$VAR1 = {
           'test' => 1
         };

E:\devel\testpp>pp -o testpp_clean.exe  --clean  testpp.pl
E:\devel\testpp>pp -o testpp_noclean.exe testpp.pl
E:\devel\testpp>testpp_noclean.exe
$VAR1 = {
           'test' => 1
         };

E:\devel\testpp>testpp_clean.exe
String found where operator expected at blib\lib\Storable.pm (autosplit into bli
b\lib\auto\Storable\_retrieve.al) line 368, near "logcroak "can't open $file: $!
""
         (Do you need to predeclare logcroak?)
String found where operator expected at blib\lib\Storable.pm (autosplit into bli
b\lib\auto\Storable\_retrieve.al) line 374, near "logcarp "Storable::lock_store:
  fcntl/flock emulation broken on $^O""
         (Do you need to predeclare logcarp?)
String found where operator expected at blib\lib\Storable.pm (autosplit into bli
b\lib\auto\Storable\_retrieve.al) line 377, near "logcroak "can't get shared loc
k on $file: $!""
         (Do you need to predeclare logcroak?)
syntax errorsyntax error at blib\lib\Storable.pm (autosplit into blib\lib\auto\S
torable\_retrieve.al) line 374, near "logcarp "Storable::lock_store: fcntl/flock
  emulation broken on $^O""
syntax error at blib\lib\Storable.pm (autosplit into blib\lib\auto\Storable\_ret
rieve.al) line 377, near "logcroak "can't get shared lock on $file: $!""
Compilation failed in require at C:/strawberry-perl/perl/lib/AutoLoader.pm line
27.
  at blib\lib\Storable.pm (autosplit into blib\lib\auto\Storable\retrieve.al) lin
e 352

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About