Name

File::DataClass::HashMerge - Merge hashes with update flag

Version

This document describes version v0.31.$Rev: 1 $

Synopsis

use File::DataClass::HashMerge;

$class   = q(File::DataClass::HashMerge);
$updated = $class->merge( $dest_ref, $src, $condition );

Description

Merge the attributes from the source hash ref into destination ref

Subroutines/Methods

merge

$class = q(File::DataClass::HashMerge);
$bool  = $class->merge( $dest_ref, $src, $filter );

Only merge the attributes from $src to $dest_ref if the $filter coderef evaluates returns the,. Return true if the destination ref was updated

Diagnostics

None

Configuration and Environment

None

Dependencies

None

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Author

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright

Copyright (c) 2014 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE