Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Generalising Forms from CGI.pm

by Cody Pendant (Prior)
on Feb 19, 2003 at 01:43 UTC ( #236488=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %fields = (
      'name',        'textfield',
    ...
    print table({-border=>1,-width=>'50%'},
                Tr(\@rows)
               );
    
  2. or download this
    
       $thisrow .= td({-align=>left,-valign=>TOP},
    ...
                                    # because the value is
                                    # 'textfield' - DWIM!
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://236488]
Approved by Coruscate
Front-paged by Coruscate
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2017-03-30 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (353 votes). Check out past polls.