Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: What is the best way to compare variables so that different types are non-equal?

by LanX (Canon)
on Jul 19, 2009 at 23:31 UTC ( #781493=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Regexp;
    use overload
    ...
    package main;
    my $rx = qr/a/;
    print $rx;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2014-07-14 01:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (254 votes), past polls