To: | bug-par [...] rt.cpan.org |
From: | Mark Burton <mark [...] helenandmark.org> |
Subject: | binary built with pp hangs |
Date: | Wed, 2 Feb 2005 17:29:07 +0000 |
Hi, I have a simple test case
Put this into a file called ~you/bin/foo.pl
#!/usr/bin/perl
use POSIX;
print "hello world\n";
(BTW, the key thing that makes it fail is use POSIX)
then pp foo.pl -o foo
then make sure ~you/bin is in your PATH
then go somewhere else on your system and try and execute foo. For me,
it just hangs ( :-( )
If i give it the absolute path (~you/bin/foo), it works just find..
If I wanted to make something do that, I would find it hard! Whats
going on?
BTW....
perl -version gives
This is perl, v5.8.4 built for i386-linux-thread-multi
pp -version give
Perl Packager, version 0.12 (PAR version 0.87)
I'm running on a debian "testing" (Serge) system...
Any help much appreciated!
Cheers
Mark.