package myMod;
use strict;
require Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(tryIt);
sub tryIt { print "We did it!!\n\n"; }
1;
####
use myMod;
BEGIN { push @ISA, "/home/jptxs"; }
tryIt();
####
/home/jptxs > perl -w getMyMod
Use of reserved word "our" is deprecated at myMod.pm line 5.
Bareword "our" not allowed while "strict subs" in use at myMod.pm line 5.
Unquoted string "our" may clash with future reserved word at myMod.pm line 5.
Array found where operator expected at myMod.pm line 5, at end of line
(Do you need to predeclare our?)
Global symbol "@ISA" requires explicit package name at myMod.pm line 5.
Use of reserved word "our" is deprecated at myMod.pm line 6.
Bareword "our" not allowed while "strict subs" in use at myMod.pm line 6.
Unquoted string "our" may clash with future reserved word at myMod.pm line 6.
Array found where operator expected at myMod.pm line 6, at end of line
(Do you need to predeclare our?)
Global symbol "@EXPORT" requires explicit package name at myMod.pm line 6.
syntax error at myMod.pm line 5, near "our @ISA "
BEGIN failed--compilation aborted at getMyMod line 1.
####
/home/jptxs > perl -w getMyMod
Global symbol "@ISA" requires explicit package name at myMod.pm line 5.
Global symbol "@EXPORT" requires explicit package name at myMod.pm line 6.
Compilation failed in require at getMyMod line 1.
BEGIN failed--compilation aborted at getMyMod line 1.