Iterator::File::Utility - IF utility functions


Iterator-File documentation  | view source Contained in the Iterator-File distribution.

Index


NAME

Top

Iterator::File::Utility - IF utility functions

DESCRIPTION

Top

Private mixin utility class for Iterator::File.

Not intended to be used directly or externally.

new(%config)

The constructor can take a hash as an argument. If the hash contains keys debug or verbose, with either set to true, those types of messages will be enabled. Note that enabling debug automatically enables verbose.

To avoid temporary code changes, debug can be also be enabled by setting the environmental variable ITERATOR_FILE_DEBUG to a true value.

_verbose(@text)

Prints @text if verbose or debug is enabled.

_debug(@text)

Prints @text if debug is enabled.

SEE ALSO

Top

Iterator::File

AUTHOR

Top

William Reardon, <wdr1@pobox.com>

COPYRIGHT AND LICENSE

Top


Iterator-File documentation  | view source Contained in the Iterator-File distribution.