Hello!
Sorry, if I selected a wrong address.
I have a problem, working with pp (PAR-0.90):

185-> pp -B -o script script.pl
/sne/bin/pp: Binary 'script.pl' sure doesn't smell like perl source!
script.pl:      executable /sne/perl/bin/perl script
/sne/bin/pp: Please try a perlier file!

The script.pl is here:

#!/sne/perl/bin/perl
use IO::All;
{
 local $/;
 my $zip_tar_dir = <DATA>;
 $zip_tar_dir > io("/tmp/tar.zip.$$");
 system "unzip -p /tmp/tar.zip.$$ | tar xf -";
}
__DATA__
.........................

After __DATA__  a zipped tar file is placed. The script
works pretty well before pp.

The next attempt was with -a option:
pp -B -a dir.tar.zip -o new_script new_script.pl

#!/sne/perl/bin/perl

 system "unzip -p dir.tar.zip | tar xf -";
...........

The problem is: I don't know the path of my dir.tar.zip
when the script works.
Can anyone help me please.

Thanks in advance,
   Eugene.

Reply via email to