Subject: | Makefile.PL fails in an unfriendly manner under 5.003 |
Hi, I tried to install 0.044 on a 5.003 system, and got the following nasty compilation failure. A simple fix is to change "use 5.00503" to "require 5.00503", which is how I remember it being documented as "the way to be done since perl5.0". Changing use to require works great.
garcia% /usr/local/bin/perl5 Makefile.PL || /usr/local/bin/perl5 -e 'use 5.00503;' || /usr/local/bin/perl5 -v
syntax error at Makefile.PL line 6, near "use 5.00503"
Execution of Makefile.PL aborted due to compilation errors.
syntax error at -e line 1, near "use 5.00503"
Execution of -e aborted due to compilation errors.
This is perl, version 5.003 with EMBED
built under sunos at Aug 24 1996 02:27:46
+ suidperl security patch
Copyright 1987-1996, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.