from the docs for tell:
The return value of tell() for the standard streams like the
STDIN depends on the operating system: it may return -1 or
something else. tell() on pipes, fifos, and sockets usually
returns -1.The short answer is you need to keep track of this yourself. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
