The stupid question is the question not asked | |
PerlMonks |
Re^6: 'perl -e' and '__DATA__' What's wrong?by Skeeve (Parson) |
on Dec 07, 2007 at 15:15 UTC ( [id://655667]=note: print w/replies, xml ) | Need Help?? |
okay then... Just again in slow motion... My script is part of an AppleScript. The perl script needs:
Why _DATA__? Because I want to feed it some stuff whose content I don't know. DATA is a quite safe way for doing it, because I don't need to worry about any "dangerous" characters in it. Now I use a variable assignment, but i must make sure that the END marker isn't used in the data I want to store. So is there a problem? Yes, but not a big one. s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{% +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
In Section
Seekers of Perl Wisdom
|
|