Util::Properties::Combine - Util::Properties descendant, with summing & comparison methods
The idea is to have Util::Properties objects with summing (all the field are summed or substracted) and comparison (<=, >=) although Properties are not orderable. Comparing, summing will be done on all the properties fields
use Util::Properties::Combine;
my $pc1 = Util::Properties::Combine->new(file=>'file1.properties');
my $pc2 = Util::Properties::Combine->new(file=>'file2.properties');
my $p = Util::Properties::Combine->new(file=>'file.properties');
$pc1+=$p
if($pc1 <= $pc2){ ... }
Please report any bugs or feature requests to bug-util-properties@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Util-Properties. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-util-properties@rt.cpan.org
Copyright 2006 Alexandre Masselot, all rights reserved.
This program is released under the following license: gpl
To install Util::Properties, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Util::Properties
CPAN shell
perl -MCPAN -e shell install Util::Properties
For more information on module installation, please visit the detailed CPAN module installation guide.