Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where can I dload a Perl Interpreter? 2

Status
Not open for further replies.

raevans

Programmer
Dec 3, 2002
28
US
Hello. I am totally new to PERL and a beginner programmer. I am sorry if this is a simple question... I have read the archives and learned a lot but I have just a couple conceptual questions...I will be grateful for anyones input, time and advice. Thanks!

First... is a Perl Interpreter free?
2) Are there different versions needed for Solaris vs Win 2K Server?
3)Does it work similar to the Java Interpreter...
4) Where does it need to be installed and how large is it?
5) Does it interface well with major OS's?

and Finally... I have a script from NMS... Which I need PERL 5.0 or greater to utilize.... Now.. unles I am mistaken... All I have to do is create the HTML form with the appropriate inputs... copy and paste the formmail.pl script into my cgi-bin.... and viola. Magic???

To clear things up... I was given...errrr...ok volunteered for this assignment at my school and now I'm stressing a litle. I wanted to test it on my laptop at home which has win 2k.... So... any advice recomendations or other will be appreciated. Please respond here or if you like the_burren@yahoo.com
Thanks again

Cor
 
I know I read about that recently and I think the solution was to switch around your command line arguments on the shebang line so that -T is first:

#!/usr/bin/perl -T etc....


-T is for taint checking but I really can't tell you more than that :)
 
Ahhhh SAMS pays off in 15 minutes on page 18... My error was because i had this at the top.
#!/usr/bin/perl -wT
##############################################################################
# nms Formmail Version 1.00 (cvs v1.87) #
# Copyright 2001 London Perl Mongers All rights reserved #
# Created 11/11/01 Last Modified 05/24/02 #
# Matt's Script Archive: #
##############################################################################
# nms Formmail has been created as a drop in replacement for the FormMail #
# found at Matt's Script Archive. Both the original and nms versions of this #
# script can be found at the above URL. Support for nms Formmail is #
# available through: nms-cgi-support@lists.sourceforge.net #
##############################################################################
and so I took the T out like someone up above told me to earlier... but I took out the wrong one SUCCESS!!!! Now I just have this...


Application Error
An error has occurred in the program

i suk
 
Don't get too frustrated! I've been in the same situation many times.
Actually I'm in that kind of situation right now at work but it's amazing how much you can figure out when you're under pressure, and I've found the perl community to always be extremely helpful!
 
yes i would never be able to do anything without people here helping its amazing how willing experienced programmers are to us newcomers. moochas gracias
SN are you working on a unix system? any advice, if so?? Anyone know how "out of the box" the nms_formmail script really is?? Thanks
 
Hi raevans,
I work with windows 2k.. sorry. Most books have a section of things to look out for when writing cross-platform code. I think the perl documentation has something too.
I looked at the description of that script at and it sounds like it's supposed to be fairly easy to set up for non-programmers, but I can see how it could look pretty daunting to someone with someone dealing with perl for the first time.
Did you say you're on the east coast or was that someone else? USA i'm assuming.. i'm from Rhode Island myself. just wondering.
good luck!
 
Hey Skinny. Yes I am from New Jersey, USA. I actually tried setting the script up onto a solaris platform today. I had trouble with setting the permissions via telnet and the chmod command. It was wierd... I couldnt change directories to do it using cd dir name. I guess that I didnt have the right dir name. Anyway,, thanks for the link...
 
Maybe a semi LINUX :) would help for practicing a little...
Try GNU's-IBM's CYGWIN . It's a LINUX-like system for Windows. It installs all alone (eats some Mbs.). But works fine for any Windows. And you could practice a little the *NIX OS, without installing that great OS.
The nice thing is that it takes profit of all that it can from Windows. All the commands are .exe files. And after you get the idea of how it works, you could even, replace it for a brand new GNU-LINUX-Mandrake 9 (latest release) that would share your harddisk with a LINUX partition (all done without much knowledge,and authomatically).
All these include a complete and brand new Perl. And is much easier to deal with it.:)
Do a with "CYGWIN" and get it at the GNU page. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top