Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

How to loop through Plack::Request body_parameters ?

by knox (Sexton)
on Feb 12, 2020 at 01:38 UTC ( [id://11112825]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        $VAR1 = bless( { 
                'c_xcode' => 'J23-H0P',  
    ...
                's_zlist' => 'T71-K2L'
                 }, 'Hash::MultiValue' );
    
  2. or download this
        %form_hash = (
                        'c_xcode' => 'J23-H0P',  
    ...
                        's_zlist' => 'T71-K2L'
                    );
    
  3. or download this
    my $form =  $posted->body_parameters;
    my @k = keys %$form;
    ...
    # "Experimental keys on scalar is now forbidden" when trying on 
    # foreach my $key (sort(keys(  \%form_hash   ))) below.
    
  4. or download this
    
        #!/usr/bin/perl
    ...
            }
        
        };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-25 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found