Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: Using File::Tail on a unicode file

by chrestomanci (Priest)
on Mar 07, 2012 at 15:00 UTC ( #958301=note: print w/ replies, xml ) Need Help??

in reply to Re: Using File::Tail on a unicode file
in thread Using File::Tail on a unicode file

Thank you, that was exactly what I was looking for. ++

Unfortunately I can't use it because I have just discovered that File::Tail does not work under windows, or at least not under Active State perl 5.12. It is not available in their package repository, and when I tried to install it by hand most of the tests failed.

Instead I have switched to a simpler algorithm that just monitors the file mtime, and if it changes, reads the entire file. It is inelegant but works.

Comment on Re^2: Using File::Tail on a unicode file

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://958301]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2015-11-28 20:58 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (744 votes), past polls