in reply to Re^2: md5_hex diff input produces same output?
in thread md5_hex diff input produces same output?

You can always use strict;, as it's a lexically scoped pragma:

... horrible code ... sub my_new_code { use strict; ... }; ... more code from the wasteland ...

You might or might not need to declare the global variables you need using use vars;, but at least all new code can be run under strict that way.

Replies are listed 'Best First'.
Re^4: md5_hex diff input produces same output?
by ikegami (Patriarch) on Mar 24, 2009 at 17:33 UTC

    You might or might not need to declare the global variables

    In the spirit of keeping things local,

    ... horrible code ... sub my_new_code { use strict; our $global; ... }; ... more code from the wasteland ...