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


in reply to Re: When numeric conversion overloading goes awry.
in thread When numeric conversion overloading goes awry.

That will technically work. Semantically, however, this may lead to problems -- I think SOAP::Serializer relies on this technique to generate unique IDs for objects. If there are two such Error objects, SOAP::Serializer may get confused. I will file a bug in Error.pm's CPAN page, however, as yours is a valid point.
  • Comment on Re^2: When numeric conversion overloading goes awry.

Replies are listed 'Best First'.
Re^3: When numeric conversion overloading goes awry.
by dragonchild (Archbishop) on Jan 25, 2006 at 18:14 UTC
    Then that's a bug in Soap::Serializer. UIDs are a well-studied space with UUID and Data::UUID simply being two modules I've personally used. That should be filed, as well.

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?