in reply to Do you consider these different or the same?

I do not see them as deep copies of each other. Whether I'd see them as being "equivalent" would depend on context - I guess I'd think of them as "equivalent up to aliasing", which would be "equivalent enough" for some purposes and not for others.

After the operation, I'd no longer see them as equivalent at all.

Hugo

  • Comment on Re: Do you consider these different or the same?

Replies are listed 'Best First'.
Re^2: Do you consider these different or the same?
by demerphq (Chancellor) on Jul 01, 2005 at 11:47 UTC

    As i mention in my update the question is motivated by trying to determine what the community thinks Test::More::is_deeply() should do. There is some debate on the perl-qa list as to what the correct behaviour is.

    ---
    $world=~s/war/peace/g