in reply to Filehandle open fails in script packed with PAR::Packer
it crashes at an open command.
What does that mean exactly? Did eventviewer have something to say about it?
What PAR command did you use to pack the script? Did you use "pp -x ..."?
P.s. it creates a random folder on c:/, it was the first location that came to mind.
Change your mind :)
use File::Temp();
my $tempfh = File::Temp->new;
binmode $tempfh;
print $tempfh ...;
close $tempfh;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Filehandle open fails in script packed with PAR::Packer
by elef (Friar) on Jan 14, 2014 at 21:16 UTC | |
by Anonymous Monk on Jan 14, 2014 at 21:44 UTC | |
by elef (Friar) on Jan 14, 2014 at 22:05 UTC | |
by Anonymous Monk on Jan 15, 2014 at 01:58 UTC |