Subject: | "redefined" warnings |
This scripts emits some "Subroutine ... redefined" warnings:
#!/usr/bin/perl -w
use strict;
use Image::Info;
use Test::Without::Module qw(Image::Info);
no Test::Without::Module qw(Image::Info);
require Image::Info;
__END__
Maybe the scrub() function should remember what was removed from %INC
and put it again into %INC when the user is using the unimport?
(No, I am not using -w in real world, but it seems that standard "make
test" does)
Regards,
Slaven