Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: TemplateToolkit and CGI Forms

by Anneq (Vicar)
on Oct 23, 2004 at 02:40 UTC ( #401755=note: print w/ replies, xml ) Need Help??

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;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://401755]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2013-05-18 18:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (394 votes), past polls