NAME

Railway::Cleanup - autocleaner

VERSION

version 0.003

METHODS

cleanup cleanup attributes

try_or_cleanup $o->try_or_cleanup(sub { die }); Execute a code and invoke cleanup if code raised an exception

register_cleanup register a keys for cleanup

cleanup_list returns a list of attributes that will be cleared with "cleanup"

attr_cleanup Invoke "attr" in Evo::Base and register it for cleanup

AUTHOR

alexbyk.com

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by alexbyk.

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