in reply to Re: Reloading modules- suppressing warnings works sometimes?
in thread Reloading modules- suppressing warnings works sometimes?
Indeed, I messed up the copying in;
In my local version of foo.pm, I have no 'use warnings;' only 'use strict;' - which, very certainly overrides the 'local $^W = 0;', and gives us the warn.
(In other words, yea, the notice of bar being redefined is indeed there)
Oops?
-- Alexander Widdlemouse undid his bellybutton and his bum dropped off --
|
---|
In Section
Seekers of Perl Wisdom