Pathologically Eclectic Rubbish Lister | |
PerlMonks |
(Ovid) Re: need nextline() subby Ovid (Cardinal) |
on Nov 22, 2001 at 05:42 UTC ( [id://126925]=note: print w/replies, xml ) | Need Help?? |
If I read what you wrote correctly, you want to pass a filename to a sub in another module and then later, be able to read the file one line at a time, right? If so, I think this might work:
In your main program:
If that's not what you're looking for, let us know. It seems to me that seek is not what you're needing here. Cheers, Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
In Section
Seekers of Perl Wisdom
|
|