Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: A Beginner Apparently Sucks With Hashes...

by CharlesClarkson (Curate)
on Jul 22, 2001 at 11:19 UTC ( #98792=note: print w/ replies, xml ) Need Help??


in reply to Re: A Beginner Apparently Sucks With Hashes...
in thread A Beginner Apparently Sucks With Hashes...

Following CheeseLord's advice might lead to something like:

#!/usr/bin/perl -w use strict; use diagnostics; use CGI qw/:standard Vars/; use CGI::Carp 'fatalsToBrowser'; my @page; my %form_data = Vars; foreach my $input_name (keys %form_data) { push @page, p( {-align => 'center'}, b($input_name), ": $form_data{$input_name}" ); } print header, html(@page);

HTH,
Charles K. Clarkson


Comment on Re: Re: A Beginner Apparently Sucks With Hashes...
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2015-05-25 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (485 votes), past polls