Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by LanX (Bishop)
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 monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2018-06-22 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (121 votes). Check out past polls.

    Notices?