DBIx::Class::AlwaysUpdate - Always update the result on ->update, independent of changes
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.
Join #dbix-class on irc.perl.org and ask for Getty.
http://github.com/Getty/p5-dbix-class-alwaysupdate Pull request and additional contributors are welcome
Torsten Raudssus <firstname.lastname@example.org> 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.