in reply to Re: __DATA__ on commandline does not work?
in thread __DATA__ on commandline does not work?

Expanding that to use a here doc.:
#!/bin/bash perl << HDEND print <DATA>; __DATA__ line 1 line 2 HDEND

Replies are listed 'Best First'.
Re^3: __DATA__ on commandline does not work?
by Skeeve (Parson) on Apr 11, 2010 at 18:51 UTC

    ...which s almost exactly my second codefragment in the question.


    s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
    +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e