Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Very Simply

by earthboundmisfit (Chaplain)
on Mar 21, 2002 at 19:43 UTC ( [id://153399]=note: print w/replies, xml ) Need Help??


in reply to Looping over all checked boxes w/ CGI.pm

There are a lot of ways to do it. You only want the check boxes, so what I would do is first check to make sure all my checkboxes have the same name and then store them in an array like this:
#! Perl -w use strict; use CGI; my $q = new CGI; my @checkbxs = $q->param('the_name'); # only those that are checked en +d up in here for (@checkbxs) { &delete_file($_); # assuming a delete sub exists }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-23 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found