in reply to Re^5: 'perl -e' and '__DATA__' What's wrong?
in thread 'perl -e' and '__DATA__' What's wrong?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: 'perl -e' and '__DATA__' What's wrong?
by shmem (Chancellor) on Dec 07, 2007 at 18:27 UTC | |
|
Re^7: 'perl -e' and '__DATA__' What's wrong?
by eric256 (Parson) on Dec 07, 2007 at 16:19 UTC |