the same ArrayA as ArrayB by a

#!perl -pl\x0d
1 while s/(\b\w+\b)(.*=.*)\W\1\b/$2/;$_=/\w/?"different":"same"

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page