Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Ignore case of query string parameter

by George_Sherston (Vicar)
on Jun 12, 2002 at 18:55 UTC ( [id://173960]=note: print w/replies, xml ) Need Help??


in reply to Ignore case of query string parameter

Other monks may have a specific way to do what you want, but you might also find it useful that CGI.pm (I think I'm right in guessing you are using this?) offers: @array_of_submitted_parameter_names = $query->param; So you could get them all and then loop through them picking up the ones that meet your needs, e.g. in the case you're looking at:
my @ary = $query->param; my $pageid; for (@ary) { if (lc $_ eq 'pageid') { $pageid = $query->param($_); } }


§ George Sherston

Log In?
Username:
Password:

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

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

    No recent polls found