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
Replies are listed 'Best First'.
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 romping around the Monastery: (7)
As of 2015-08-30 12:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (348 votes), past polls