CatalystX::FeedbackMessages

Easy way to stuff "status" messages into your stash
Download

CatalystX::FeedbackMessages Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Devin Austin
  • Publisher web site:
  • http://search.cpan.org/~dhoss/

CatalystX::FeedbackMessages Tags


CatalystX::FeedbackMessages Description

Easy way to stuff "status" messages into your stash CatalystX::FeedbackMessages is a Perl module that was inspired while working with Mischa Spiegelmock on a Catalyst project. He had put together a small plugin/mixin (astonishingly similar to this one. That allowed you to add an arbitrary number of messages to $c-stash > via an arrayref which could be iterated through by Template::Toolkit.SYNOPSIS use Catalyst qw/ ... +CatalystX::FeedbackMessages /; # later... package MyApp::Controller::Blargh; ... sub fnargh : Local { my ($self, $c) = @_; ## do some form submission stuff if( $form_stuff_is_successful ) { $c->msg("Successful submission is successful!"); } }Open up your wrapper and add these lines: (Add formatting as you please) Requirements: · Perl


CatalystX::FeedbackMessages Related Software