UPDATE:# file foo.pm package foo; $foo = 1; --------------------------- # file foo.pl use strict; use foo; print $foo::foo,$/; --------------------------- [jeffa@trinity perl]$ perl -c foo.pm foo.pm syntax OK [jeffa@trinity perl]$ perl -c foo.pl foo.pl syntax OK [jeffa@trinity perl]$ ./foo.pl 1
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to (jeffa) Re: require() turns off strict?
by jeffa
in thread require() turns off strict?
by BioHazard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |