Loading ...
Sorry, an error occurred while loading the content.

CGI::Request compile errors

Expand Messages
  • Nguyen, David M
    I have coporated CGI::Request module inside my perl script. When I compiled script, I got following errors. Can someone tell me what wrong with it and how do
    Message 1 of 1 , Jan 31, 2002
    • 0 Attachment
      I have coporated CGI::Request module inside my perl script. When I compiled
      script, I got following errors. Can someone tell me what wrong with it and
      how do I fix it?

      Thanks,
      David

      *****Here's my script:
      #!/usr/local/bin/perl -w

      use CGI::Request;

      use Net::Telnet;



      $request = GetRequest();

      $city = $request->param('city');

      $gsx = $request->param('gsx');

      $ucity = uc($city);

      print "<HTML>\n";

      print "<TITLE>Accounting Records </TITLE>\n";

      print '<BODY BGCOLOR="FFFFFF" TEXT="003300" ALINK="EE0000" LINK="006633"
      VLINK="

      006633">';

      print "\n";

      print '<FONT FACE="Arial">';

      print "\n";

      print "<H1> Accounting Records </H1>\n";

      print "</FONT>\n";

      print '<HR>




      ********ERRORS:

      $ perl acct1.pl

      [Thu Jan 31 16:30:06 2002] acct1: [Thu Jan 31 16:30:06 2002] Request.pm:
      [Thu Ja

      n 31 16:30:06 2002] Request.pm: [Thu Jan 31 16:30:06 2002] Escape.pm: Can't
      loca

      te URI/Escape.pm in @INC (@INC contains:
      /usr/local/lib/perl5/5.6.0/sun4-solaris

      /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
      /u

      sr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at
      /usr/loc

      al/lib/perl5/site_perl/5.6.0/CGI/Request.pm line 9.

      [Thu Jan 31 16:30:06 2002] acct1: [Thu Jan 31 16:30:06 2002] Request.pm:
      [Thu Ja

      n 31 16:30:06 2002] Request.pm: BEGIN failed--compilation aborted at
      /usr/local/

      lib/perl5/site_perl/5.6.0/CGI/Request.pm line 9.

      [Thu Jan 31 16:30:06 2002] acct1: [Thu Jan 31 16:30:06 2002] Request.pm:
      Compila

      tion failed in require at
      /usr/local/lib/perl5/site_perl/5.6.0/CGI/Request.pm li

      ne 3.

      [Thu Jan 31 16:30:06 2002] acct1: BEGIN failed--compilation aborted at acct1
      lin

      e 3.




      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.