Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Basic Objects with Overloaded Operators

by perlmonkey (Hermit)
on Feb 28, 2001 at 00:59 UTC ( #61169=note: print w/ replies, xml ) Need Help??


in reply to Re: Basic Objects with Overloaded Operators
in thread Basic Objects with Overloaded Operators

Thanks for the comment! I have included the isa call into
the root node. I wasn't familiar with isa when I wrote the
article (many moons ago).
-perlmonkey


Comment on Re: Re: Basic Objects with Overloaded Operators
Re: Re: Re: Basic Objects with Overloaded Operators
by Anonymous Monk on Nov 15, 2001 at 06:16 UTC
    unless(isa( $b, 'Complex' ) ) is more proper to cover the case when $b is not an object.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://61169]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (15)
As of 2015-07-02 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (40 votes), past polls