Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Searching in binary files

by crenz (Priest)
on Dec 14, 2005 at 18:25 UTC ( [id://516720]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        while ($str =~ /searchword/g) {
            my $loc = tell($fh) - length($str) + pos($str);
            print "Found a match starting after $loc.\n";
        }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://516720]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found