develooper Front page | perl.perl5.porters | Postings from May 2001

Re: [ID 20010514.030] error in perlcc script

From:
Simon Cozens
Date:
May 14, 2001 07:54
Subject:
Re: [ID 20010514.030] error in perlcc script
Message ID:
20010514155435.A1522@netthink.co.uk
On Tue, May 08, 2001 at 11:45:32AM +0200, Hartmut Hagen wrote:
> bash-2.04# ./perlcc hello.pl
> ./perlcc: hello.pl did not compile:
> syntax error at /opt/perl/lib/5.6.1/i686-linux/B/Stash.pm line 20, near "sub
> scan"
>  syntax error at /opt/perl/lib/5.6.1/i686-linux/B/Stash.pm line 37, near "}"
>  BEGIN failed--compilation aborted. 

I'll bet you that perlcc is calling /usr/bin/perl, which is still 5.005_03
because you installed 5.6.1 in /usr/local/bin/perl.

At a guess.

-- 
So now I don't trust my backups, which is a lot like not trusting my
girlfriend -- sooner or later either they'll win back my trust or I'll
have to trade them in on a new model.        - D J Trindle, in the monastery



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About