Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Subverting overload

by BrowserUk (Patriarch)
on Nov 29, 2004 at 03:05 UTC ( [id://410852]=note: print w/replies, xml ) Need Help??


in reply to Subverting overload

Yes. Call overload::StrVal(). From the POD:

Package overload.pm provides the following public functions:

overload::StrVal(arg)

Gives string value of arg as in absence of stringify overloading

...


Examine what is said, not who speaks.
"But you should never overestimate the ingenuity of the sceptics to come up with a counter-argument." -Myles Allen
"Think for yourself!" - Abigail        "Time is a poor substitute for thought"--theorbtwo         "Efficiency is intelligent laziness." -David Dunham
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon

Replies are listed 'Best First'.
Re^2: Subverting overload
by Duco (Sexton) on Nov 29, 2004 at 05:49 UTC
    Thanks! I did perldoc overload, but I must have missed that.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-05-24 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found