Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Equivalency of Code

by stvn (Monsignor)
on Feb 07, 2005 at 11:01 UTC ( #428624=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
            "2 and 3 are equivalent\n" : "2 and 3 are not equvalient\n");
    print(($d3->normalized() == $d1->normalized) ? 
            "3 and 1 are equivalent\n" : "3 and 1 are not equvalient\n");
    
  2. or download this
    they are not equvalient
    1 and 2 are not equvalient
    2 and 3 are not equvalient
    3 and 1 are not equvalient
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2022-05-27 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (94 votes). Check out past polls.

    Notices?