in reply to Hex string search all files in directory

if you want to match all instances of "hello" wether it is "HELLO","Hello" or "hello" you should also change the line:
if ($hex_string =~ /\hello/)
to:
if (lc($hex_string)) =~ /\hello/)

Replies are listed 'Best First'.
Re^2: Hex string search all files in directory
by choroba (Cardinal) on Dec 04, 2012 at 09:17 UTC
    The more cannonical would be, in my opinion,
    if ($hex_string =~ /hello/i)
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ