in reply to Re^2: Searching in binary filesin thread Searching in binary files
while ($str =~ /$pattern/g) { my $loc = tell($fh) - length($str) + pos($str) - length($patte +rn); print "Found a match starting after $loc.\n"; } [download]
www.com | www.net | www.org
No recent polls found