Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 taking refuge in the Monastery: (3)
As of 2016-06-29 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (365 votes). Check out past polls.