Not able to convert into cgi script

D

David H. Adler

Hi
So what should i do , make it right.
i mean please suggest me some solution.

Since you didn't quote the post you're replying to, you must have also
jettisoned the several links in it that answered that question. Let's
try that again:
 
G

Glenn Jackman

At 2006-01-05 03:25PM said:
#!/usr/bin/perl
use warnings;
use strict;
use HTTP::Request::Common;
use LWP::UserAgent;
use CGI;
use CGI::Carp 'fatalsToBrowser';
print "Content-type: text/plain\n\n OK so far!\n";

If you're going to 'use CGI', you might as well use it:
use CGI ':standard';
print header('text/plain'), "OK so far\n";
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top