... or some such thing.&hello = sub { print "Hello, " }; &hello.syntree[0][1] .= "world!\n"; hello(); # prints "Hello, world!"
In reply to Re: Re: Re: A subroutine is a reference to a list of statements
by premchai21
in thread A subroutine is a reference to a list of statements
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |