http://qs321.pair.com?node_id=228423


in reply to Re: Why isn't ->can() curried?
in thread Why isn't ->can() curried?

I forgot you could override some core functions. That does it nicely though I think this ought to be the default behaviour.


Seeking Green geeks in Minnesota

Replies are listed 'Best First'.
Re: Re^2: Why isn't ->can() curried?
by Elian (Parson) on Jan 20, 2003 at 18:23 UTC
    It's far, far too late to make this the default behaviour. This'd be a matter for a new method in UNIVERSAL (which has its own issues) or a middle OO layer.