Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: Stop Using Perl (CGI::param)

by LanX (Saint)
on Jan 03, 2015 at 22:13 UTC ( [id://1112078]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Stop Using Perl (CGI::param)
in thread Stop Using Perl

>
sub get_param { return get_params( @_ )->[-1]; }

If this is a feature request for CGI I'd like to see a setting to raise an exception if multiple values are received where only one value is legally expected.

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-10-09 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (44 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.