On Sun Nov 02 23:11:05 2014, demerphq wrote: > And if you do that then you might as well also make a ":const" > prototype/attribute whatever. Which would only be permitted on anonymous subs and would execute the anonymous sub when the ‘sub{...}’ expression is evaluated, capture the return value, and return a new constant sub. What would sub :lvalue :const do? Presumably the actual scalar return by the sub, not a copy of it, would then be attached to the constant sub, right? -- Father Chrysostomos --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=123092Thread Previous | Thread Next