go ahead... be a heretic | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I discovered yesterday that it is impossible to read the __DATA__ section when your script comes via -e from the command line. Is this a fact or am I just missing something? Example:
I'm calling the perl script from AppleScript so this is the reason why I use -e. When I use <<< instead of -e it works fine, but then I can't use STDIN in my script to read other input. s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{% +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e In reply to 'perl -e' and '__DATA__' What's wrong? by Skeeve
|
|