develooper Front page | perl.perl5.porters | Postings from October 2013

confused I am ...

Thread Next
From:
kevin dawson
Date:
October 10, 2013 21:24
Subject:
confused I am ...
Message ID:
52571B1F.4020305@dawson10.plus.com
hi all,

confused I am, why dose English not work in this instance, please

###

package Packagename;

use 5.010;
use strict;
use warnings FATAL => 'all';

use English qw( -no_match_vars );

# turn of experimental warnings
no if $OLD_PERL_VERSION  > 5.017010, warnings => 'experimental::smartmatch';


1;

###

$ perl -c Packagename.pm
Global symbol "$OLD_PERL_VERSION" requires explicit package name at 
Packagename.pm line 10.
BEGIN not safe after errors--compilation aborted at Packagename.pm line 10.

###

Thread Next


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