...which s almost exactly my second codefragment in the question.
In reply to Re^3: __DATA__ on commandline does not work? by Skeeve in thread __DATA__ on commandline does not work? by Skeeve