To summarize, ActivePerl comes with the wrong version of PAR::Packer. After 
downloading from CPAN it worked like a charm. Thanks to all who helped

 
Best Regards,
Dov Levenglick
SmartDSP OS Development Leader
From: [email protected] [mailto:[email protected]] On Behalf Of 
Natty
Sent: Thursday, August 11, 2011 22:38
To: Perl in Israel
Subject: Re: [Israel.pm] compiling perl

Looking at packer code, it has this line:

    if (/^#!/ and !/perl/) {
        $self->_die("$file is a ", /^#!\s*(\S+)/, " script, not perl\n");
    }
in module: Packer.pm

make sure you have the correct shebang line

On Thu, Aug 11, 2011 at 10:25 PM, Levenglick Dov-RM07994 
<[email protected]> wrote:
pp script.pl

I have activestate 5.12.<n> installed n a WinXP 32 machine


Best Regards,
Dov Levenglick
________________________________________
From: [email protected] [[email protected]] on behalf of Pinkhas 
Nisanov [[email protected]]
Sent: Thursday, August 11, 2011 9:48 PM
To: Perl in Israel
Subject: Re: [Israel.pm] compiling perl
On Thu, Aug 11, 2011 at 1:23 PM, Levenglick Dov-RM07994
<[email protected]> wrote:
> I am unable to get it to compile. I keep getting "<script> is a Perl script 
> not perl".

can you give more details?
what do you run? how you try to compile?


Pinkhas
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl


_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl


_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to