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
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
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