Hi,
after playing around with POE::Wheel::FollowTail I wonder how to get the
current position inside the read logfile, something like IO::File-getpos().
I noticed Seek and Seek back but nothing to find the current position
inside the logfile let's say for saving its state for a _stop event.
Am
after playing around with POE::Wheel::FollowTail I wonder how to get the
current position inside the read logfile, something like
IO::File-getpos().
After reading the source for a while I finally use
my $fh = $follow_tail-[ POE::Wheel::FollowTail::SELF_HANDLE ];
my $pos = sysseek( $fh, 0,
You could do a tell() on the wheels' file handle which is located at
$wheel-[POE::Wheel::FollowTail::SELF_HANDLE]
or $wheel-[0] for short.
David
On Mon, 18 Oct 2004 13:48:44 +0200, Thomas Nagel [EMAIL PROTECTED] wrote:
Hi,
after playing around with POE::Wheel::FollowTail I wonder how to get