CatalystX::Usul::File::HashMerge - Merge hashes with update flag


CatalystX-Usul documentation  | view source Contained in the CatalystX-Usul distribution.

Index


Name

Top

CatalystX::Usul::File::HashMerge - Merge hashes with update flag

Version

Top

0.3.$Revision: 597 $

Synopsis

Top

   use CatalystX::Usul::File::HashMerge;

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

Description

Top

Merge the attributes from the source hash ref into destination ref

Subroutines/Methods

Top

merge

   $class = q(CatalystX::Usul::File::HashMerge);
   $bool  = $class->merge( $src, $dest_ref, $condition );

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

Diagnostics

Top

None

Configuration and Environment

Top

None

Dependencies

Top

None

Incompatibilities

Top

There are no known incompatibilities in this module

Bugs and Limitations

Top

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

Author

Top

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

License and Copyright

Top


CatalystX-Usul documentation  | view source Contained in the CatalystX-Usul distribution.