Devel::Unstate - Disable 'state' keyword statelessness
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.
Devel::Unstate
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.
To install Devel::Unstate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::Unstate
CPAN shell
perl -MCPAN -e shell install Devel::Unstate
For more information on module installation, please visit the detailed CPAN module installation guide.