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


in reply to Re: Context aware functions - best practices?
in thread Context aware functions - best practices?

I'm not calculating all that much. As I've said repeatedly, what I want is merely a convenience feature to have the same convenience as CGI offers with my $foo = $cgi->param(''); vs my ($foo) = $cgi->param(''); which both do the same.

Data getting thrown away is not really a problem here, just like when doing my $foo = (bar(), baz(), qux()); the user knows he asked for more than he provided the space to save it in.

Makeshifts last the longest.