Help for this page

Select Code to Download


  1. or download this
    [% IF msg == 'success' %]
        <p>You were successful.</p>
    ...
        [% msg IF msg %]
        ... show the form because something went wrong ...
    [% END %]
    
  2. or download this
    $self->run_modes(
        'default'    => 'default',\
    ...
        'modify_record'    => 'database_action',    
        'other_run_mode'    => 'other_sub',
    );
    
  3. or download this
    sub database_action
    {
    ...
        
        return $output;
    }
    
  4. or download this
    sub do_some_database_action
    {
    ...
        $result = 'success' if (!$result);
        return $result;
    }