-----Original Message----- From: Beau E. Cox [mailto:beau@;beaucox.com] Sent: Monday, October 28, 2002 2:27 AM To: Ruessel, Jan Subject: RE: Installation
Wow - OK 1) Look at the perl module CGI (perl has add-on modules that are contributed by people like you and me - they are located in CPAN - http://cpan.org . Many of these modules have withstood the test-of-time and are now part of the perl _core_ release. CGI is one of those. The documentation on your windows system should be in html format here: C:\Perl\html\lib\CGI.html (assuming you installed into C:\Perl). 2) Copy an paste the "hello world" example from the start of the DESCRIPTION section (or here): #!/usr/local/bin/perl -w use CGI; $q = new CGI; print $q->header, $q->start_html('hello world'), $q->h1('hello world'), $q->end_html; (in Windows you really don't need the first line, it's only used by "real" :-) operating systems like Unix and Linux. But it doesn't hurt to leave it in.) 3) Save it with a file extension of .pl (ActivePerl does some IIS setup so he recognizes .pl files as perl scripts. 4) Open a command prompt an run it: perl <whatever>.pl. You should see html output w/http headers and stuff. 5) So far so good? 6) Now put it in an accessible place in IIS's wwwroot structure (don't get anyone mad, better to test on your own personal server). It's up to you to do all the security stuff including making the directory capable of executing scripts. 7) Now in your favorite browser, enter something like: localhost//where/ever/you/put/it/scriptname.pl Play with this until you get the output. 8) Read, read, read. Study, study, study. Play, play, play. 9) Please visit: http://www.perl.org http://learn.perl.org Aloha => Beau. -----Original Message----- From: Ruessel, Jan [mailto:jan.ruessel@;realtech.de] Sent: Monday, October 28, 2002 1:54 AM To: [EMAIL PROTECTED] Subject: RE: Installation yes thank you! I'm in! And how do i get cgi's to run? How can i test it if its working? I think there are numerous configurations that have to be done? Like ISAPI Filters etc.? Thanks Jan -----Original Message----- From: Beau E. Cox [mailto:beau@;beaucox.com] Sent: Montag, 28. Oktober 2002 11:57 To: Ruessel, Jan; [EMAIL PROTECTED] Subject: RE: Installation Hi - Welcome! You're gonna have a lot of fun! For Windows, go get ActivePerl @: http://activestate.com/Products/ActivePerl/ and hit download (upper left). Follow the instructions to download and install - easy! You can take all of the install defaults unless you have an overriding reason not to. Once installed - open a command prompt and enter: perl -V If you get a lot of version information, you're in. Aloha => Beau. -----Original Message----- From: Ruessel, Jan [mailto:jan.ruessel@;realtech.de] Sent: Monday, October 28, 2002 12:44 AM To: [EMAIL PROTECTED] Subject: Installation Hi, im totally new, i wanted to install perl just today and i have trouble doing that. I have Win2000, IIS and have no clue how to make it run. where can i find an installation document to get that done? How do i get cgis to run? Thanks for help Jan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -----Original Message----- From: Ruessel, Jan [mailto:jan.ruessel@;realtech.de] Sent: Monday, October 28, 2002 1:54 AM To: [EMAIL PROTECTED] Subject: RE: Installation yes thank you! I'm in! And how do i get cgi's to run? How can i test it if its working? I think there are numerous configurations that have to be done? Like ISAPI Filters etc.? Thanks Jan -----Original Message----- From: Beau E. Cox [mailto:beau@;beaucox.com] Sent: Montag, 28. Oktober 2002 11:57 To: Ruessel, Jan; [EMAIL PROTECTED] Subject: RE: Installation Hi - Welcome! You're gonna have a lot of fun! For Windows, go get ActivePerl @: http://activestate.com/Products/ActivePerl/ and hit download (upper left). Follow the instructions to download and install - easy! You can take all of the install defaults unless you have an overriding reason not to. Once installed - open a command prompt and enter: perl -V If you get a lot of version information, you're in. Aloha => Beau. -----Original Message----- From: Ruessel, Jan [mailto:jan.ruessel@;realtech.de] Sent: Monday, October 28, 2002 12:44 AM To: [EMAIL PROTECTED] Subject: Installation Hi, im totally new, i wanted to install perl just today and i have trouble doing that. I have Win2000, IIS and have no clue how to make it run. where can i find an installation document to get that done? How do i get cgis to run? Thanks for help Jan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]