http://www.perlmonks.org?node_id=1077399


in reply to Reading a file live!

Seems like you could define a subroutine that reads the file in question (and does whatever processing is required). Then strategically place calls to that subroutine within your master script.

But then again, I may need more coffee.