DBIx::Class::AlwaysUpdate - Always update the result on ->update, independent of changes
version 0.001
package MyApp::Schema::Result::CD; __PACKAGE__->load_components( qw( AlwaysUpdate ) );
This little helper will bring your result to always update all of its row, regardless of the change state or if its dirty or not. Its a very simple hack that overloads all functions which are required to identify if the data has changed. Be aware that this also means that you are unable to detect for yourself, if there was made a change.
IRC
Join #dbix-class on irc.perl.org and ask for Getty.
Repository
http://github.com/Getty/p5-dbix-class-alwaysupdate Pull request and additional contributors are welcome
Issue Tracker
http://github.com/Getty/p5-dbix-class-alwaysupdate/issues
Torsten Raudssus <torsten@raudss.us> http://raudss.us/
This software is copyright (c) 2011 by Raudssus Social Software.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install DBIx::Class::AlwaysUpdate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class::AlwaysUpdate
CPAN shell
perl -MCPAN -e shell install DBIx::Class::AlwaysUpdate
For more information on module installation, please visit the detailed CPAN module installation guide.