Perl Monk, Perl Meditation | |
PerlMonks |
Re: perl vs. C++ operatorsby Corion (Patriarch) |
on Oct 09, 2017 at 14:58 UTC ( [id://1201007]=note: print w/replies, xml ) | Need Help?? |
See the overload pragma, which allows you that. Also, note that assignment is not really overloadable and some other caveats to overload.
In Section
Seekers of Perl Wisdom
|
|