Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: check if 2 values are equal

by Corion (Patriarch)
on Jan 24, 2006 at 18:52 UTC ( [id://525283]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub equals {
        my ($val1,$val2) = @_;
    ...
            || ($val1 eq $val2)
            || ($val1 == $val2)
    };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-03-29 10:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found