in reply to Re: Strange given/when deparsing
in thread Strange given/when deparsing

Isn't ~~ commutative?

Replies are listed 'Best First'.
Re^3: Strange given/when deparsing
by ikegami (Pope) on Jun 09, 2009 at 16:12 UTC
    It might have been. It might be. It won't be.

    Update: Is the following clearer?

    It might have been commutative in the past. It might be commutative now. It won't be commutative in the future.

      I fail to parse your answer. Maybe that's because English is not my first language.

      perlsyn says:

      It is always commutative, i.e. $a ~~ $b behaves the same as $b ~~ $a .
      Do you mean that this behavior is going to change?
        Yes, it won't be commutative in a future release. At least not in general. Some matches will work regardless of the order, but not all.