[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] getting to the beginning of a opened file



Christian Schwarzfischer wrote:
> stupid PERL generic question:

Which is a good sign that it isn`t really appropriate for this
mailinglist, now isn`t it? :-)


> When I parsed through file with while ($xxx = <FILE>)
> how do I get back to first line without closing and reopening the file?

"seek() and ye shall find". :-)


-- 
Party? Party, lord? Yes, lord. Right away, lord.
        - Beopunk Cyberwulf

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch