http://www.perlmonks.org?node_id=1021663


in reply to Re: on the fly reference to subroutine output
in thread on the fly reference to subroutine output

Just as a note - this beautiful solution works cause Perl flattens arrays.

You can see that when you do:

sub2( [ sub1(), (), () ] );