NAME

ProgressMonitor::Null - a monitor implementation which doesn't render anything. Useful if a receiver insists on a monitor impl to talk to.

SYNOPSIS

...
$someObj->someLongRunningMethod(ProgressMonitor::Null->new);
...

####

useful pattern inside a method that takes a monitor instance
but can accept undef for it:

someMethod
{
  my $monitor = shift;
  
  monitor = ProgressMonitor::Null->new unless $monitor;
  
  ...
  #now the rest of the code is guaranteed a monitor
  ...
}

DESCRIPTION

This is a 'null' implementation of the ProgressMonitor interface. It will simply ignore to render anything, thus it's a good dropin for a method that requires a monitor instance but you don't wish anything shown.

Inherits from AbstractStatefulMonitor.

AUTHOR

Kenneth Olwing, <knth at cpan.org>

BUGS

I wouldn't be surprised! If you can come up with a minimal test that shows the problem I might be able to take a look. Even better, send me a patch.

Please report any bugs or feature requests to bug-progressmonitor at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ProgressMonitor. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find general documentation for this module with the perldoc command:

perldoc ProgressMonitor

ACKNOWLEDGEMENTS

Thanks to my family. I'm deeply grateful for you!

COPYRIGHT & LICENSE

Copyright 2006,2007 Kenneth Olwing, all rights reserved.

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