At 08.55 -0500 1999.02.01, Christian Brechbuehler wrote: >On Fri, 29 Jan 1999 14:11:14 -0500, Stˇphane Jose wrote: > >>I am using the following script to read the last line from a log file. >>This works fine under Unix but I don't know how to simulate the call to >>'tail' on a Mac with MacPerl. > >Just found out: see CPAN. > >Module id = File::Tail > DESCRIPTION A more efficient tail -f > CPAN_USERID MGRABNAR (Matija Grabnar <matija.grabnar@arnes.si>) > CPAN_VERSION 0.90 > CPAN_FILE MGRABNAR/File-Tail-0.90.tar.gz > DSLI_STATUS bdpO (beta,developer,perl,object-oriented) > INST_FILE (not installed) Nope. cpan> readme File::Tail ... Currently this package requires Time::HiRes, because it often needs to sleep for less than one second. (I don't beleive one should busy wait on a file just because it gets more than one line/second). ... Of course, that just means someone needs to port Time::HiRes. :) -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch