Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Stringify objects with overloaded stringification

by ysth (Canon)
on Nov 30, 2003 at 23:52 UTC ( #311133=note: print w/ replies, xml ) Need Help??


in reply to Stringify objects with overloaded stringification

overload::StrVal??


Comment on Re: Stringify objects with overloaded stringification
Re: Re: Stringify objects with overloaded stringification
by liz (Monsignor) on Dec 01, 2003 at 00:03 UTC
    Indeed. In hindsight, it's a logical place and name for such functionality, but (as may be clear) I didn't find it. I guess I should have phrased is as a SOPW then, rather than creating a subroutine to do this. ;-) as I could have known someone would already have made something like that.

    On the other hand, this will work even if overload is not loaded, so you can apply it to a blessed value always. So there is some merit in doing it this way.

    Learned something again today (well, actually, it's already tomorrow here ;-)

    Liz

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2015-07-04 10:34 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 (59 votes), past polls