[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-AnyPerl] Re: Perl Starmapping



On Fri, Aug 06, 1999 at 02:23:16PM -0700, Brian McNett wrote:
> >syntax error in file Makefile.PL at line 1, next 2 tokens "use ExtUtils"
> >syntax error in file Makefile.PL at line 6, next 2 tokens
> >"WriteMakefile("
> >
> >But I have /opt/perl5/lib/ExtUtils/MakeMaker.pm and /opt/perl5/lib/ is
> >the second pathname in @INC. Line one in Makefile.PL is:
> >
> >use ExtUtils::MakeMaker;
> >
> >What is wrong?
> 

> At an rate, check both the version of Perl and MakeMaker, as there may be
> a mismatch there (but I'm really just grasping at straws.  You need a
> REAL Perl guru to answer your question).
> 
> Real Perl guru?  What's your take.

I agree with your assessment.  The syntax error with 'use' means that
the script is being executed under perl4 rather than perl5.

perl -v

Ronald

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org