in reply to Re: "Empty Stream" error as result of repeated reading of __DATA__ block?
in thread "Empty Stream" error as result of repeated reading of __DATA__ block?
I might also point out that you must rewind regular files too in order to read from them again once you have reached EOF.
Also I believe that use Fcntl ':seek'; will clear up your warning.