Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: TemplateToolkit and CGI Forms

by Anneq (Vicar)
on Oct 23, 2004 at 02:40 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://401755]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-29 06:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found