The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Devel::Unstate - Disable 'state' keyword statelessness

DESCRIPTION

This module makes all state variables behave as if they were my variables. This can be useful for testing, when you cache some data in your application, but want to get fresh values on each test iteration.

The effect of Devel::Unstate is global. But only variable declarations compiled after it is loaded are affected.

COPYRIGHT AND LICENSE

Copyright (C) 2015 by Sergey Aleynikov

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.