#! /usr/bin/perl -w
#cgihello.plx
use strict;
use warnings;
print "Content-type: text/plain\n\n";
print "Hello CGI world! \n";
print " You are calling from $ENV{REMOTEHOST}\n";
I enter this http:\\localhost\scripts\cgihello.plx in the address bar- but Im getting this:
Content-type: text/plain Hello CGI world! You are calling from
When i enter
It isnt interpreting my escape sequence- and $ command.
How do I rectify this problem?
PS: A html written in inetpub/wwroot works fine.
I want to create a CLI in perl which will take some input from the user and output some desired output.To be more specific I want to convert some firewall rules into another firewall format.Can some body give a small example for a basic CLI code?If not possible in perl which language will be better?Plz help me.Thanks
I want to create a tool which will convert a given firewall rule into a different firewall format.The user have to input the config file of the firewall rules and the tool will convert it.The tool has to be based on command line interface.So can I do it in perl.If yes then plz give me a small example of a basic command line interface code.Thanks
What makes a programming language architecture neutral by the way?
i have alredy beat the 7th gym leader but i will like to know how to get to the 8th gym leader i know its at sunnyshore city but how do you get there please help me i will really aprexiate it
I m currently stuck deciding between 2 great free hosts!
Here s the breakdown:
Host # 1:
- short subdomain (about 3 char. long)
- cPanel w/fantastico
- PHP and Perl Support
- Unlimited Sub-domains- E-mail- & MySQL Databases
- Somewhat inactive owner
- somewhat active hostees
- very slow response (I posted a question at the forum and I only got a reply from the owner 10 days later)
- not responsible for back-ups
- owner has to review apps first
- reseller at surpasshosting
HOST # 2:
- long subdomain (about 14 char. long)
- No cPanel but has Webmin control panel instead
- Unlimited space and bandwidth
- Up to 2 subdomains (more upon request) and up to 5 websites
- PHP 5.2- Ruby on Rails 1.2- MySql 5.0- phpMyAdmin- etc.
- regular offsite back-ups
- Very active owner (I sent 2 questions through email to him already and responded less than 30 minutes!)
- Somewhat inactive hostees
- very selective when it comes to hostees (But I fit)
- own server
I m not linking to the sites because I don t want to attract applications from noobs and abusers if you know what I mean...
The site I m planning to make is a personal site and portfolio/fanlisting collective. I might buy a domain name and my own hosting account next year when I get my online payment stuff set-up. But for now- free-hosting will do.
What do you guys think? Any opinion is much appreciated.
No comments:
Post a Comment