The Perl Advent Calendar needs more articles for 2022. Submit your idea today!


Data::Compare::Plugin::Scalar::Properties - plugin for Data::Compare to handle Scalar::Properties objects.


Enables Data::Compare to Do The Right Thing for Scalar::Properties objects.

comparing a Scalar::Properties object and an ordinary scalar

If you compare a scalar and a Scalar::Properties, then they will be considered the same if the two values are the same, regardless of the presence of properties.

comparing two Scalar::Properties objects

If you compare two Scalar::Properties objects, then they will only be considered the same if the values and the properties match.


Copyright (c) 2004 David Cantrell. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.