Subject: | There's no way of turning the AutoINC off [+fix] |
I have a script in which I'd like to run Module::AutoINC at the
beginning when I import standard modules. However, I don't want to have
it getting in the way during the main body of the script. Currently
there doesn't seem a way to do that.
How about using providing an unimport subrountine to do this? I.e.
something like:
sub unimport {
my $package = shift;
@INC = grep { $_ !~ m|$package| } @INC;
}