Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 scrutinizing the Monastery: (8)
As of 2014-10-21 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (98 votes), past polls