http://qs321.pair.com?node_id=464851


in reply to Re^3: Reopen file when contents changed?
in thread Reopen file when contents changed?

I think there was a misunderstanding. The combination of the words 'pointer' and 'static' made me think of a c-style static pointer, a thing that simply does not exist in perl. You are right, you would need something that addresses the beginning of the file. But that would be a fileposition, which is always 0 for the beginning of a file (kind of static...), so there is no need to store anything.
  • Comment on Re^4: Reopen file when contents changed?