Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by LanX (Chancellor)
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 browsing the Monastery: (13)
As of 2016-02-09 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (320 votes), past polls