in reply to Fake JAPH
Okay, I'll take a whack at understanding this one.
The seek statement looks through the __DATA__, which seems to be the whole script itself, by default. So it seeks 15 characters in, which puts it on the first line, just after the : and the space.
Since the seek does not fail, then the print statement takes effect. "q... <DATA>" is equivilant of "q// . <DATA>". I'm guessing here in saying that the only reason the q// exists is so you can use <DATA> in a string context, and print it.
Correct? Wrong? Other things I may have missed?
Since the seek does not fail, then the print statement takes effect. "q... <DATA>" is equivilant of "q// . <DATA>". I'm guessing here in saying that the only reason the q// exists is so you can use <DATA> in a string context, and print it.
Correct? Wrong? Other things I may have missed?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Fake JAPH
by Mr. Muskrat (Canon) on Dec 11, 2004 at 01:25 UTC | |
Re^2: Fake JAPH
by blazar (Canon) on Dec 14, 2004 at 10:02 UTC | |
by Anonymous Monk on Dec 14, 2004 at 12:43 UTC | |
by blazar (Canon) on Dec 16, 2004 at 13:12 UTC |
In Section
Obfuscated Code