Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > learning perl and cgi

Reply
Thread Tools

learning perl and cgi

 
 
timh
Guest
Posts: n/a
 
      12-16-2003
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


 
Reply With Quote
 
 
 
 
WinickWatch
Guest
Posts: n/a
 
      12-16-2003
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" <(E-Mail Removed)> 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
>
>



 
Reply With Quote
 
 
 
 
MM
Guest
Posts: n/a
 
      12-17-2003
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


 
Reply With Quote
 
Gunnar Hjalmarsson
Guest
Posts: n/a
 
      12-17-2003
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

 
Reply With Quote
 
Hugh Lutley
Guest
Posts: n/a
 
      12-18-2003
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)

 
Reply With Quote
 
knightpoet
Guest
Posts: n/a
 
      12-19-2003
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" <(E-Mail Removed)> 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
>
>



 
Reply With Quote
 
Leif K-Brooks
Guest
Posts: n/a
 
      12-19-2003
timh wrote:
> Also, am I required to install Unix? (I use XP right now)


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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Learning Perl CGI and OOP, not printing @c Nene Perl Misc 3 10-21-2011 08:03 PM
what's wrong calling a Perl/CGI script in Perl/CGI script under Tomcat server? kath Perl Misc 4 04-09-2007 09:21 PM
Python-cgi or Perl-cgi script doubt praba kar Python 1 07-30-2005 08:25 AM
Learning CGI, PERL, etc. Matt Beckwith HTML 21 08-01-2003 04:03 PM
Re: CGI Perl "use CGI" statement fail Jürgen Exner Perl 0 07-31-2003 02:00 PM



Advertisments