in reply to Reopen file when contents changed?
AFAIK you can just seek to the beginning and re-read, and the OS should take care that you get up-to-date data. (On *NIX systems)
|
---|
In Section
Seekers of Perl Wisdom