Ok, combine that with what poj posted, seems to work

#!/usr/bin/perl -- use strict; use warnings; use Data::Dump qw/ dd /; use CGI qw//; my $din = { qw{ name1 N/A name10 N/A name100 N/A name100_drp N/A name101 N/A name101_drp N/A name102 N/A name102_drp N/A name103 N/A name103_drp N/A name104 N/A name104_drp N/A name105 N/A }}; dd( $din ); my $q = CGI->new( $din ); print $q->self_url, "\n"; for my $k ( sort $q->param ) { if ($k =~ /(.+)_drp$/){ print join'|', scalar $q->param( $1 ), scalar $q->param( $k )."\n" +; } } __END__ { name1 => "N/A", name10 => "N/A", name100 => "N/A", name100_drp => "N/A", name101 => "N/A", name101_drp => "N/A", name102 => "N/A", name102_drp => "N/A", name103 => "N/A", name103_drp => "N/A", name104 => "N/A", name104_drp => "N/A", name105 => "N/A", } http://localhost?name10=N%2FA;name102_drp=N%2FA;name100=N%2FA;name1=N% +2FA;name100_drp=N%2FA;name101=N%2FA;name104=N%2FA;name101_drp=N%2FA;n +ame102=N%2FA;name103=N%2FA;name105=N%2FA;name104_drp=N%2FA;name103_dr +p=N%2FA N/A|N/A N/A|N/A N/A|N/A N/A|N/A N/A|N/A

In reply to Re^7: Problems around Param (CGI->param or CGI->multi_param instead of CGI->Vars ) by Anonymous Monk
in thread Problems around Param by sauravrout

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.