in reply to Simulating UNIX's "tail" in core Perl

Have you looked at File::Tail? Just because there's a module that does what you want, doesn't mean you have to use it. You can look through it for hints and, depending on the license, use its code in your own program.