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

Re^3: I know two prints are slower than one, but 200x slower?!?!? (==)

by Anno (Deacon)
on Aug 17, 2007 at 15:37 UTC ( [id://633329]=note: print w/replies, xml ) Need Help??


in reply to Re^2: I know two prints are slower than one, but 200x slower?!?!? (==)
in thread I know two prints are slower than one, but 200x slower?!?!?

...either or both of == / eq inappropriate. In that case, you can use something from overload but I'm not familiar with it.

That would be overload::StrVal(), to be used with eq. Alternatively, Scalar::Util::refaddr() and ==.

Update: All this has been said, as I noticed after posting.

Anno

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found