SPUG: Passing arguments to a code reference
mike206 at gmail.com
Tue Apr 18 14:22:23 PDT 2006
I've tried a few things, including using the PROTO in the sub declaration,
but I cant seem to figure out how to pass some args to a code ref after the
creation of the code ref
This code ref is being passed to an object which would like to add a hashref
to the argument list.
This is in the perlsub documentation
$subref = sub (PROTO) : ATTRS BLOCK; # with proto and attributes
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the spug-list