Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 scrutinizing the Monastery: (4)
As of 2021-10-18 15:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (74 votes). Check out past polls.

    Notices?