in reply to Re: Re: Re: Reloading changed modules
in thread Reloading changed modules

Your local($^W) = 0; does not work for me, I get 'Can't modify constant item in local ..'
Using use warnings; at the top and then:
no warnings; eval "require $modname"; use warnings;
Still produces the warnings :(
C.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Reloading changed modules
by castaway (Parson) on Dec 21, 2002 at 19:58 UTC
    Oops, I take it back.. It doesn't in eval "local($^W) = 0; require $modname;" Which is not suprising (silly me).
    Thanks all
    C.