in reply to Re: Re: A subroutine is a reference to a list of statements
in thread A subroutine is a reference to a list of statements

If you want to treat a subroutine as a list, that's fundamentally different from how most languages treat them. You'd have to create an array of statements and modify that array, and evaluate the entire array.

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

  • Comment on Re: Re: Re: A subroutine is a reference to a list of statements