in reply to Re: reading __DATA__ more than once
in thread reading __DATA__ more than once
The CHECK block happens just after compile-time ends.{ my $offset; CHECK { $offset = tell DATA } sub data { seek DATA, $offset, 0; [<DATA>] } }
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perl
hacker, who'd like a job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
|
|---|