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


in reply to Re: a loop for creating subroutines?
in thread a loop for creating subroutines?

With this solution, how would my example code look like? Like this?

$mysubs{light}->(10); $mysubs(light_at_time)->($timestamp);