Re: How to read backwards in a file.

2001-05-14 Thread Paul
--- Gary Luther <[EMAIL PROTECTED]> wrote: > I guess what I am asking is how in the Perl do you set the read > pointer?? Observe perldoc perlfunc. More specifically: perldoc -f tell perldoc -f seek Just store the address of the pointer after you hit a "node", then go back to the previous

How to read backwards in a file.

2001-05-14 Thread Gary Luther
I am learning Perl and loving it. Perl is cool...not as cool as APL but nonetheless cool. Here is my question. I have to read into a file for a particular string in a record. The "strings" occur in different records. I then call a subroutine and within the subroutine need to be able to r