?b 三, 2003-09-17 22:43, Mike Stok ?g?D?G
> [EMAIL PROTECTED] par-test]$ pp -o foo foo.pl bar.pl
> [EMAIL PROTECTED] par-test]$ ./foo
> syntax error at script/main.pl line 2, near "my \"
> I am probably making some really simple error, but I haven't discovered 
> where to find out how to fix it.

Well, it's not your fault; I made a mistake in script/pp (see patch
below) that prevents multiple scripts from being used.

PAR 0.75 should come shortly with this fix.

Thanks,
/Autrijus/

--- //member/autrijus/PAR/script/pp     2003/09/17 20:00:48
+++ //member/autrijus/PAR/script/pp     2003/09/17 20:06:10
@@ -685,7 +685,7 @@
 sub _main_pl_multi {
     return << '__MAIN__';
 my $file = $0;
-my \$zip = \$PAR::LibCache{\$0} || Archive::Zip->new(__FILE__);
+my $zip = $PAR::LibCache{$0} || Archive::Zip->new(__FILE__);
 $file =~ s/^.*[\/\\]//;
 $file =~ s/\.[^.]*$//i ;
 my $member = eval { $zip->memberNamed($file) }

Attachment: signature.asc
Description: =?UTF-8?Q?=E9=80=99=E6=98=AF=E6=95=B8=E4=BD=8D=E5=8A=A0=E7=B0=BD?= =?UTF-8?Q?=E7=9A=84=E9=83=B5?= =?UTF-8?Q?=E4=BB=B6?=

Reply via email to