469,902 Members | 1,939 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,902 developers. It's quick & easy.

learning perl and cgi

Hello group,

I'm interested in starting to learn Perl and CGI. I'm not having any
problems with that. However, setting everything up is not clear to me.

What should I do to run my CGI scripts on my computer, with my browser. I
need to be able to run these CGI scripts on my own browser, so I can test
what I'm doing. I'm not interested in getting and account yet, I just want
to run it on my machine. Is there a way to do this, or buying an account is
mandatory?

Also, am I required to install Unix? (I use XP right now)

I actually have zillions of questions but I'll read and find out. Could
anyone just give me a few ideas on how all this works? I've always been a
windows user so I'm a bit confused.
Any help is appreciated.

thanks in advance,
tim
Jul 19 '05 #1
6 2190
You can use Sambar Server on XP which works great with CGI and Perl.

You put your scripts in the /docs/ or /docs/cgi-bin directory and then view
them via http://127.0.0.1/script.pl

This goes to your local machine.

"timh" <dj*****@hotmail.com> wrote in message
news:3zGDb.723694$6C4.135380@pd7tw1no...
Hello group,

I'm interested in starting to learn Perl and CGI. I'm not having any
problems with that. However, setting everything up is not clear to me.

What should I do to run my CGI scripts on my computer, with my browser. I
need to be able to run these CGI scripts on my own browser, so I can test
what I'm doing. I'm not interested in getting and account yet, I just want
to run it on my machine. Is there a way to do this, or buying an account is mandatory?

Also, am I required to install Unix? (I use XP right now)

I actually have zillions of questions but I'll read and find out. Could
anyone just give me a few ideas on how all this works? I've always been a
windows user so I'm a bit confused.
Any help is appreciated.

thanks in advance,
tim

Jul 19 '05 #2
MM
timh wrote:
Hello group,

I'm interested in starting to learn Perl and CGI. I'm not having any
problems with that. However, setting everything up is not clear to me.

What should I do to run my CGI scripts on my computer, with my browser. I
need to be able to run these CGI scripts on my own browser, so I can test
what I'm doing. I'm not interested in getting and account yet, I just want
to run it on my machine. Is there a way to do this, or buying an account is
mandatory?

Also, am I required to install Unix? (I use XP right now)

I actually have zillions of questions but I'll read and find out. Could
anyone just give me a few ideas on how all this works? I've always been a
windows user so I'm a bit confused.
Any help is appreciated.

thanks in advance,
tim


You can also look into Indigo Perl, which is a Win32 package that
contains Perl, most of the WWW/CGI-releated Perl Modules, and an Apache
Web Server. I've used it before and it works well enough. Long term, I
would go with a Unix/Linux system where you have more options, most
notibly PHP.

MM
Jul 19 '05 #3
MM wrote:
timh wrote:
I'm interested in starting to learn Perl and CGI. I'm not having
any problems with that. However, setting everything up is not
clear to me.

What should I do to run my CGI scripts on my computer, with my
browser. I need to be able to run these CGI scripts on my own
browser, so I can test what I'm doing. I'm not interested in
getting and account yet, I just want to run it on my machine. Is
there a way to do this, or buying an account is mandatory?

Also, am I required to install Unix? (I use XP right now)
You can also look into Indigo Perl, which is a Win32 package that
contains Perl, most of the WWW/CGI-releated Perl Modules, and an
Apache Web Server. I've used it before and it works well enough.


I'm using it now, and do recommend it. Works well and *very* easy to
set up.

http://www.indigostar.com/indigoperl.htm
Long term, I would go with a Unix/Linux system where you have more
options, most notibly PHP.


The latest IndigoPerl build comes with PHP as well. That's not a
reason to leave Windows.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

Jul 19 '05 #4
You could also get Apache webserver for WIN32 systems. Personally, I love
Apache as a webserver and the documentation is great.
http://www.apache.org

ActiveState has a distribution of perl that is complete and is fully
documented. It's perhaps the most popular Windows distribution of Perl out
there. There are many modules available for ActivePerl, including CGI.pm.
http://www.activestate.com
Iif the documentation isn't enough for either of these, the user community
will definitely help.
"timh" <dj*****@hotmail.com> wrote in message
news:3zGDb.723694$6C4.135380@pd7tw1no...
Hello group,

I'm interested in starting to learn Perl and CGI. I'm not having any
problems with that. However, setting everything up is not clear to me.

What should I do to run my CGI scripts on my computer, with my browser. I
need to be able to run these CGI scripts on my own browser, so I can test
what I'm doing. I'm not interested in getting and account yet, I just want
to run it on my machine. Is there a way to do this, or buying an account is mandatory?

Also, am I required to install Unix? (I use XP right now)

I actually have zillions of questions but I'll read and find out. Could
anyone just give me a few ideas on how all this works? I've always been a
windows user so I'm a bit confused.
Any help is appreciated.

thanks in advance,
tim

Jul 19 '05 #5
timh wrote:
Also, am I required to install Unix? (I use XP right now)


For Perl? No. For your sanity and coolness? Yes.

Jul 19 '05 #6
On Fri, 19 Dec 2003 02:12:24 +0000, Leif K-Brooks wrote:
timh wrote:
Also, am I required to install Unix? (I use XP right now)


For Perl? No. For your sanity and coolness? Yes.


Exactly! You aren't required to install Unix of any flavour but if
you're getting stuck into Perl and scripting then dipping into a
non Bill Gates powered pc isn't a bad thing.

Why dont you try Linux out? You don't even have to actually install
it onto your harddrive. Download Knoppix Linux, burn it onto a cd
and boot it from your cdrom. The whole thing runs in RAM.

To compliment my windows installation I use Mandrake Linux. It is
very easy to use, very graphical too so the wife has no problem
getting into her hotmail account. I've also got Slackware Linux on my
laptop running command line only just for fun....

Try it out,,
--
/* Hugh Lutley aKa Spewy
* This message was created on either
* Aurora 1.0 Linux on Sparcstation 20 <- 2 sm71 SuperSparc, 192mb ram ->
* Mandrake 9.2 Linux on Athlon XP <- Gnome 2.4 rulez KDE ->
* Slackware 9.1 Linux on PIII <- Command line rulez ->
* NO GOING BACK TO WINDOWS THIS TIME!!!!!!!
*/
(created in ViM)

Jul 19 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Jason | last post: by
6 posts views Thread by post400 | last post: by
1 post views Thread by James White | last post: by
14 posts views Thread by Rich | last post: by
2 posts views Thread by mahajanrahuld | last post: by
26 posts views Thread by K.J.Williams | last post: by
6 posts views Thread by Rui Maciel | last post: by
1 post views Thread by Elizabeth Barnwell | last post: by
5 posts views Thread by Beany | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.