start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: syswrite Chapter 5
Function Reference
Next: Reference: telldir
 

tell

tell 
filehandle

Returns the current file position (in bytes, 0 -based) for filehandle . This value is typically fed to the seek function at some future time to get back to the current position. If filehandle is omitted, the function returns the position of the file last read. File positions are only meaningful on regular files. Devices, pipes, and sockets have no file position.


Previous: Reference: syswrite Perl in a Nutshell Next: Reference: telldir
Reference: syswrite Book Index Reference: telldir

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.