John Townsend wrote:
> I'm looking for a way to read the end of a file quickly. I have scripts
> that generate PostScript files (basically really large text files). I'd
> like to verify that each PostScript file ends with "%EOF". Rather than
> read the entire text file into memeory then parsing each line, I'd like
> to read from the bottom the file and search for the "%EOF" string.
> 
> The PostScript file I generate can be hundreds of megs, so I'm looking
> for a fast solution. I've read about the/// seek/ function, but I'm not
> sure it is what I'm looking for.
> 
> Any suggestions are appreciated.
> 

Try

File::ReadBackwards

JOhn

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to