nishanth ev wrote:
>> --- [EMAIL PROTECTED] wrote:
>> 
>>After I use <> operator on s file handle, I need
>>read it from head again. I
>>found these is no rewind function, must I close it
>>and open again?
> 
> You can use sysseek function.
> For more info use perldoc perlfunc
> or the following link
> http://perldoc.perl.org/functions/sysseek.html

perldoc -f sysseek
[snip]
          sysseek() bypasses normal buffered IO, so mixing this with reads
          (other than "sysread", for example <> or read()) "print", "write",
          "seek", "tell", or "eof" may cause confusion.


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to