NAME

CPANPLUS::Dist::Gentoo::Guard - Scope guard object.

VERSION

Version 0.12

DESCRIPTION

This is a scope guard object helper for CPANPLUS::Dist::Gentoo.

METHODS

new $coderef

Creates a new CPANPLUS::Dist::Gentoo::Guard object that will call $coderef when destroyed.

unarm

Tells the object not to call the stored callback on destruction.

DESTROY

Calls the stored callback if the guard object is still armed.

SEE ALSO

CPANPLUS::Dist::Gentoo.

AUTHOR

Vincent Pit, <perl at profvince.com>, http://www.profvince.com.

You can contact me by mail or on irc.perl.org (vincent).

BUGS

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

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc CPANPLUS::Dist::Gentoo

COPYRIGHT & LICENSE

Copyright 2009,2010,2011,2012 Vincent Pit, all rights reserved.

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