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

Thanks fletch my test script proved the same is yours. ... I'm prepared for a well deserved beating now. While preparing to copy my code for you I noticed the value I was passing to the database was not the output from MD5 but an un-initialized hashref value. I so wish I could use strict at this job! Thanks for pointing me back to the code Fletch! Oaty
  • Comment on Re^2: md5_hex diff input produces same output?

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

    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.

      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 ...