Re: [ANNOUNCE] Attribute::Overload 0.02

2001-05-31 Thread Damian Conway
> Note that you can't overload constants this way, since this has to > happen during BEGIN time, but attributes are only evaluated at CHECK > time (at least as far as `Attribute::Handlers' is concerned). Not so. At least not as of the next release. Grab the beta from:

[ANNOUNCE] Attribute::Overload 0.02

2001-05-30 Thread Marcel Grunauer
NAME Attribute::Overload - Attribute that makes overloading easier SYNOPSIS use Attribute::Overload; sub add : Overload(+) { ... } DESCRIPTION The `Overload' attribute, when used on a subroutine, declares that subroutine as handler in the current package for the operation