Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Catalyst::Plugin::Message 0.03

    Download button

    No screenshots available
    Downloads: 424  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.4/5)
    7 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Chunzi | More programs
    Perl Artistic License / FREE
    January 11th, 2008, 20:54 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Catalyst::Plugin::Message description

    Catalyst::Plugin::Message is a Perl module that contains the great new Catalyst::Plugin::Message!

    Catalyst::Plugin::Message is a Perl module that contains the great new Catalyst Message Plugin!

    SYNOPSIS

    # in your controller
    use Catalyst qw/Message/;
    sub register : Local {
    my ( $self, $c ) = @_;
    if ( $c->req->method eq 'POST' ){
    my $email = $c->req->param('email');
    $c->errmsg( email => 'email can not be empty.' ) unless defined $email;
    $c->errmsg( email => 'email invalid.' ) unless $email =~ /@/;
    if ( not $c->errmsg ){
    # save data
    }
    }
    $c->stash->{'template'} = 'register.tpl';
    }

    # register.tpl
    [% errmsg.email %]

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Message Plugin | Catalyst Plugin | Perl module | Catalyst | Message | Plugin

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM