Re:Seek issue
On Sep 11, Jorge Goncalvez said: >Hi, I have this code: >open FILE, "< $SYSLOG" or die $!; > seek FILE,10,2; I'm sorry. I meant -10, not 10. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http
Re:Seek issue
Hi, I have this code: open FILE, "< $SYSLOG" or die $!; seek FILE,10,2; read FILE,$buf,10; if($buf =~ /success$/) And there is always nothing in $buf althought the file ends with