Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: (tye)Re: A vexing list vs. scalar context question.

by chipmunk (Parson)
on Feb 01, 2002 at 02:42 UTC ( #142576=note: print w/ replies, xml ) Need Help??


in reply to Re: (tye)Re: A vexing list vs. scalar context question.
in thread A vexing list vs. scalar context question.

Perhaps ref() should return an overloaded string that returns true when compared to both the underlying reference type and the class owning the object?
Why? That's what UNIVERSAL::isa() is for. Or should the return value from ref() be an overloaded string that returns true when compared to the underlying reference type, or the class owning the object, or any of the super classes of the class owning the object? That seems an unnecessarily complicated solution to a problem that has already been solved.


Comment on Re: Re: (tye)Re: A vexing list vs. scalar context question.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2014-07-26 15:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (178 votes), past polls