On 21 Jun 2001 12:40:07 -0400, Brett W. McCoy wrote:
<snip />

>In C++, you can overload the = operator to use the copy constructor.  I don't 
>remember if in Perl
> you can overload =

<snip />

use overload "=" => \&clone;

Perl also does automagic operator overloading.  If you overload "-" it
automagicly overloads "-=" and "--" for you.

--
Today is Boomtime, the 26th day of Confusion in the YOLD 3167
Fnord.


Reply via email to