- or download this
use My::Tools;
# turns strict on
# turns warnings on
# makes all my usual imports available
- or download this
package My::Tools;
...
);
1; # return true
- or download this
use My::Tools;
$var = 1; # causes a compile error because we're using strict
- or download this
# simple example of strict contagion
sub import {
require strict;
strict->import;
}