Mohammed Khatib wrote: > Hi everyone, > > I'm currently writing a program where I'm reading in a file line by line, > and there are instances in the program where I need to "rewind" the position > in the file to the position of the last read. How can I do this?
perlfunc man page - seek/sysseek and tell functions should be sufficient reading. -- ,-/- __ _ _ $Bill Luebkert ICQ=14439852 (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // http://dbecoll.tripod.com/ (Free site for Perl) -/-' /___/_<_</_</_ Castle of Medieval Myth & Magic http://www.todbe.com/ _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/activeperl
