http://qs321.pair.com?node_id=414018


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?