Hi Charles, My system have perl 5.001, and somehow when i run your code i get error.

My best recommendation would be to upgrade to a more modern perl. I have my domain name on a server that refuses to upgade past 5.003, though, so I understand that may not be possible for you. I am sure they will understand when I move my domain next month.

Unfortunately, I have never programmed in perl below 5.003, so I can only guess what is happening. You might try posting your question again as a new question. Title it as "Need to run this in perl 5.001" or something. There should be some others who are familiar with that version. You may as well explain in your message why it is not possible to upgrade your perl version. If you can get the version number of CGI.pm installed on your system, people will find that helpful too.

In an effort to save face, perhaps I can help with the CGI.pm version info. In the CGI version I have this works:

use CGI 'version'; print version;

I'm sorry. It never occurred to me to find out which perl version you were using. I was recently admonished by crazyinsomniac for doing something similar.




HTH more,
Charles K. Clarkson
Clarkson Energy Homes, Inc.

In reply to Re: Re: Re: New and need help in cgi, perl by CharlesClarkson
in thread New and need help in cgi, perl by britney

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.