in reply to Re^4: Problems around Param (CGI->param or CGI->multi_param instead of CGI->Vars )
in thread Problems around Param
poj#!perl use warnings; use strict; use CGI; open FH, '>','/tmp/hash.dat' or die "Can not open hash.dat : $!"; my $q = new CGI; for my $k ( sort $q->param ) { if ($k =~ /(.+)_drp$/){ print FH join'|', $q->param( $1 ),$q->param( $k )."\n"; } } close FH;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Problems around Param (CGI->param or CGI->multi_param instead of CGI->Vars )
by sauravrout (Novice) on Aug 27, 2015 at 04:46 UTC | |
by poj (Abbot) on Aug 27, 2015 at 06:06 UTC | |
by sauravrout (Novice) on Aug 27, 2015 at 07:45 UTC | |
by Anonymous Monk on Aug 27, 2015 at 08:27 UTC | |
by sauravrout (Novice) on Aug 27, 2015 at 09:44 UTC |