Khen1950fx:

Your if and else blocks look very similar. Perhaps you meant to do something different in one of the cases?

Here's an interactive way of searching:
$ perl -MCPAN -e shell cpan shell -- CPAN exploration and modules installation (v1.9402) Enter 'h' for help. cpan[1]> m CGI CPAN: Storable loaded ok (v2.21) Going to read '/home/vmuser/.cpan/Metadata' Database was generated on Wed, 21 Jul 2010 02:29:05 GMT Module id = CGI DESCRIPTION Simple Common Gateway Interface Class CPAN_USERID LDS (Lincoln D. Stein <lincoln.stein@gmail.com>) CPAN_VERSION 3.49 CPAN_FILE L/LD/LDS/CGI.pm-3.49.tar.gz DSLIP_STATUS RdpOp (released,developer,perl,object-oriented,Standa +rd-Perl) MANPAGE CGI - Handle Common Gateway Interface requests and re +sponses INST_FILE /usr/local/lib/perl5/5.10.1/CGI.pm INST_VERSION 3.43

In reply to Re: Quick CPAN Search by repellent
in thread Quick CPAN Search by Khen1950fx

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.