Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Basic Objects with Overloaded Operatorsby Adam (Vicar) |
on Feb 22, 2001 at 07:40 UTC ( [id://60123]=note: print w/replies, xml ) | Need Help?? |
This is a well written article on the wonders of overloading and OO. But I have one complaint:
Is not a good way to find out if a variable is a reference to a Complex or not. The better way is UNIVERSAL::isa(). Every OO class inherits from UNIVERSAL, and so you can always call $object->isa(), like this: Other then that nit-pick, this is a good tutorial.
In Section
Tutorials
|
|