Sledge::Plugin::Notice - show one-time message
# in your Sledge::Pages use Sledge::Plugin::Notice; sub post_dispatch_foo { my $self = shift; # do something.. $self->notice('Item was successfully created.'); $self->redirect('bar'); } # in your template [% IF notice %]<h2>[% notice %]</h2>[% END %]
Sledge::Plugin::Notice is a plugin for Sledge to show one-time message.
Bundle::Sledge
Jiro Nishiguchi <jiro@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Sledge::Plugin::Notice, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sledge::Plugin::Notice
CPAN shell
perl -MCPAN -e shell install Sledge::Plugin::Notice
For more information on module installation, please visit the detailed CPAN module installation guide.