Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: multiple inputs on form with same name

by arturo (Vicar)
on Oct 16, 2001 at 18:28 UTC ( [id://119133]=note: print w/replies, xml ) Need Help??


in reply to multiple inputs on form with same name

The trick is to make sure the call to param occurs in a list context:

my @cardnumbers = $q->param("17cardnumber");

This is, by the way, documented in the POD for CGI.pm (perldoc CGI).

Books (and supporting authors who've contributed so much) are nice, but they don't update when the module updates =)

perl -e 'print "How sweet does a rose smell? "; chomp ($n = <STDIN>); +$rose = "smells sweet to degree $n"; *other_name = *rose; print "$oth +er_name\n"'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-28 21:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found