josephbifano wrote:
> 
> Hi,
> 
> This is my first time on the list.  I have a couple of questions.
> 
> I need to get a perl editor for my pc, any recommendations.

I recommend firstly Textpad (www.textpad.com), which is free. It's a
plain text editor, has syntax highlighting and shell access so it can
be set to run a script and collect output. 

If you're looking for an Intergrated Development Environment with TK/TCL
support, I'd check out codemagic, which you can find at petes-place.com
(or petesplace, I forget). It has a forms editor, a project manager,
and full shell integration.
 
> I am on a NT workstation and need to be able to serve myself for testing.
>  I loaded Apache and had no problem with the install but need to test a
> simple hello world script in the cgi-bin it set up.  I know that when I
> use the same script on a Unix box I need to have the first line show the
> path to perl.  I am having trouble with this working on the NT.  

The 'shebang' line, as it's generally called for reasons that escape me,
is not necessary on Windows.

> ActivePerl and I am not sure what to do.  It put Perl in C:\Program
> Scripts\Apache Group\Apache\bin\Perl.exe.  I changed the http.cnf file in
> Apache and it allows me to run the script, but all I get is the  whole
> thing printed, not the "Hello world" printed.

Yep, your machine isn't associating *.pl or *.cgi with Perl: the latest
AS installer does do this, and you shouldn't have to worry. If the install
didn't ask you if you want to associate files, you'll probably want to
get the latest build anyway. Otherwise, edit your extensions to point to
the perl.exe.
 
> Does ActivePerl have a syntax checker built into it?

perl -c for syntax, perl -w for warnings. There is a debugger, but I've
never used it: check the HTML help files that came with the build.
 
Good luck,
lee
-- 
Lee Goddard
IS MSc at Graduate Research Centre for Cognitive Science
University of Sussex, Brighton UK


Reply via email to