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?
Thanks very much, gellyfish, that was just what I needed.
However, your code does produce a warning:
Argument "SEEK_SET" isn't numeric in seek at ./test.pl line 13, <DATA> + line 7.
on my system, which I don't understand, SEEK_SET being a constant after all. Do you know why this occurs?
Thanks again,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: "Empty Stream" error as result of repeated reading of __DATA__ block?
by gellyfish (Monsignor) on Aug 17, 2005 at 10:55 UTC |