Dec 9, 2010, 1:56 AM
Post #3 of 3
If the file is "reasonably" small and a text file, read it in slurp mode (http://www.sysarch.com/Perl/slurp_article.html) and use substr to extract the 15 characters you are interested in.
Re: [2wheeler] Simple perl prob...
[In reply to]
An alternative is to open the file and use seek to position the file pointer to a specific position, and start reading from there the next 15 bytes using sysread.