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


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

foo() was just an example thrown together to demonstrate the propagation of context to return :) - in my actual function, the number of returned elements does indeed depend on the number of passed parameters. Thanks for the suggestion, I like it.

Makeshifts last the longest.

  • Comment on Re^2: Context aware functions - best practices?