http://www.perlmonks.org?node_id=232953


in reply to Re: my least favorite perl feature
in thread my least favorite perl feature

is that python's == operator can be used to test different objects, like tuples, class objects, whatever.

Replies are listed 'Best First'.
Re: my real point
by BrowserUk (Patriarch) on Feb 05, 2003 at 22:25 UTC

    a) I'd still like to see the answer to the preceeding question as I have no knowledge of how Python would differeciate the examples I gave.

    b) Could you give a couple of examples of where you use == in Python where you cannot in Perl? Again partly for my interest, partly because it ia easier understand you meaning from concrete examples than nebulous statements.


    Examine what is said, not who speaks.

    The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.