common mann...if i would have got what i wanted, i wouldn't ask a question here? can u tell me how i would i convert that href ..name and value query string to normal staring, since the code is now on the local machine. I am not passing the values in name and values pair.
sub printAccessLog { &PrintContract; if ($totalEntries != 0) { print RSCrpt "Log Stats for $startMonth/$startDay/$longStartYe +ar to $endMonth/$endDay/$longEndYear\n"; print RSCrpt "TESTING = " . $startMonth . $startDay . longStartYea +r . "\n"; print RSCrpt "Average CGI response time by page name:\n"; print RSCrpt "\n"; # print "<TR><TD ALIGN=\"left\"><U>Page Name</U></TD><TD ALIGN= +\"center\"><U>Average Response Time<BR>in seconds</U></TD><TD ALIGN=\ +"center\"><U>Page Accesses</U></TD></TR>\n"; print RSCrpt "Page Name Page Accesses\n"; # sub avgrsp_pg_by_value {$avgRspTimePg{$b} <=> $avgRspTimePg{$ +a} } # @keypg = sort avgrsp_pg_by_value keys(%avgRspTimePg); sub avgrsp_pg_by_value {$pageCount{$b} <=> $pageCount{$a} } @keypg = sort avgrsp_pg_by_value keys(%pageCount); foreach(@keypg) { $prevValue = $contract_number; # printf "<TR><TD ALIGN=\"left\"><A HREF=\"$cgi\?contract_n +umber=$prevValue&member_id=$memberID&start_date=$startMonth$startDay$ +longStartYear&end_date=$endMonth$endDay$longEndYear&search_page=%s\"> +%s</A></TD><TD ALIGN=\"center\">%-23.3f</TD><TD ALIGN=\"center\">%s</ +TD></TR>\n", $_, $_, $avgRspTimePg{$_}, $pageCount{$_}; printf RSCrpt "<TR><TD ALIGN=\"left\"><A HREF=\"$cgi\?cont +ract_number=$prevValue&member_id=$memberID&start_date=$startMonth$sta +rtDay$longStartYear&end_date=$endMonth$endDay$longEndYear&search_page +=%s\">%s</A></TD><TD COLSPAN=\"2\" ALIGN=\"center\">%s</TD></TR>\n", +$_, $_, $pageCount{$_}; } print RSCrpt "<TR><TD COLSPAN=\"3\">&nbsp;</TD></TR>\n"; # $avgRspTimeFile = $totalRspTime / $totalEntries; # printf "<TR><TD COLSPAN=\"3\" ALIGN=\"left\">Average CGI resp +onse time = %.3f</TD></TR>\n", $avgRspTimeFile; printf RSCrpt "Total Mainframe Calls = %s\n", $mfcalls; if (!$memberBoolean) { @IDs = keys(%uniqueIds); $length = @IDs; printf RSCrpt "Total Unique IDs = %s\n", $length; } # print RSCrpt "</TABLE>\n"; } else { print RSCrpt "TESTING = total_entries = " . $totalEntries . "\n"; return 0; } print RSCrpt "TESTING != total_entries = " . $totalEntries . "\n"; + return 1; }

In reply to Re: Re: Re: Use your brain before trying to use mine! by Anonymous Monk
in thread passing parameters?? by Anonymous Monk

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.