in reply to Perl equivilant to tail -f

I orginially tried tail -f "filename" | grep "goo" >>./file.txt but there is a buffer issue
Just need an extra switch on the grep:
tail -f "filename" | grep --line-buffered "goo" >>./file.txt
(note that the grep manpage may incorrectly may '--line-buffering' -- details here)