Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by chipmunk (Parson)
on Feb 01, 2002 at 02:42 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://142576]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-23 14:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found