in reply to Reading from <DATA> in import/BEGIN block
So you have to open the file file from which your import routine is called (caller should give you that information, I think), and parse it yourself, looking for a line that matches ^__DATA__$.
Or you simply retract from the idea of wanting to use DATA at BEGIN-time.
|
|---|