in reply to Re: Operation `bool': no method found, argument in overloaded package Vector2D at
in thread Operation `bool': no method found, argument in overloaded package Vector2D at
... or I am more clueless than you thought :)use overload "-" => \&minus, "+" => \&plus, "*" => \&mult, "bool" => \&bool; sub bool { my $object = shift; return !undef($obj); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Operation `bool': no method found, argument in overloaded package Vector2D at
by theorbtwo (Prior) on Jan 24, 2002 at 08:57 UTC | |
by rbc (Curate) on Jan 24, 2002 at 09:25 UTC | |
by theorbtwo (Prior) on Jan 24, 2002 at 10:10 UTC |