# from Ovid
# on Monday 09 March 2009 02:16:

>Regrettably, no matter how much I play with the syntax, I can't get
> something that's really convenient short of attributes and those
> aren't terribly popular (and they're problematic since they aren't
> Perl code).

The main trouble with attributes in this case is that they are applied 
to the coderef before the sub is named.  This means you're always 
looking back to the previously defined sub (and e.g. handling the last 
one in a CHECK block) to get a name.

But I think (given what you must already assume WRT runtime) that 
attributes are probably as good a way as any.

--Eric
-- 
"Because understanding simplicity is complicated."
--Eric Raymond
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to