Re: reset a file pointer

2003-09-05 Thread Tassilo von Parseval
On Fri, Sep 05, 2003 at 03:25:46PM +0530 Sachin Mathur wrote: > Hi , > I am a beginner in perl I would like to know how to reset a file > pointer in perl. Is their a rewind command in perl Yes, it's called seek(): use Fcntl qw/:seek/; seek FILE, 0, SEEK_SET; The firs

Re: reset a file pointer

2003-09-05 Thread Paul Johnson
Sachin Mathur said: > Hi , > I am a beginner in perl I would like to know how to reset a file > pointer in perl. Is their a rewind command in perl No. Use seek() perldoc -f seek -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTE

reset a file pointer

2003-09-05 Thread Sachin Mathur
Hi , I am a beginner in perl I would like to know how to reset a file pointer in perl. Is their a rewind command in perl Sachin