Nathan Torkington wrote:
> These aren't normal subroutines because of the way they stack. If I
> had my druthers, I'd make "sub" *forbidden* on such things.
I like that idea. But then, they also shouldn't go into the symbol table.
At least, not as CODE.
> If you wanted to make that parsable, pretend that BEGIN and END are
> the names of functions with prototype (&) which register callbacks.
I agree ... except that, in perl5 at least, you'd need a terminating
semicolon if that analogy were 100% accurate.
--
John Porter