I did not tell you to lose the -wT I gave you detailed instructions on how
to setup perl on sambar. If you followed those instructions you would be
using the activestate build. Once its running delete the perl in sambar.

The hash line should look like this #!D:/perl/bin/perl.exe or
#!D:/perl/bin/perlis.dll dending what perl you are using and what drive it
is located on.

-----Original Message-----
From: [EMAIL PROTECTED] (cherie)
To: "sambar List Member"  <[EMAIL PROTECTED]>
Date: 19 Jun 2004 16:25:42 +0200
Subject: [sambar] Perl is finally working (somewhat)!

> Thanks for the help, everyone.
> Leif Gregory's advice was true that the notepad was a source of
> problems; even though I enclosed the filename in quotes and made sure
> the extension was l.pl, I was getting an 'internal error'.  Switching
> to PSPad eliminated that source of error.  Also, Peter's suggestion
> to lose the -wT switches on line #1 worked to finally give a working
> script!  I read in a book that these switches helped debug but not in
> this case.  I wish I knew what was the location of the perl
> interpreter I am using.  This is a Windows computer so there's no
> /usr/bin/ directory.  The \n and \t control characters do not work,
> but I sent a copy of the script to my friend who has a UNIX computer
> and they do work on her computer.  Here's my script right now: 
> 
> #!/usr/bin/perl/perl.exe
> print "<P> -wT doesn't work 
> <P> neither does backslash n for newline or backslash t for
> tab!";
> print "<P>why doesn't newline or tab  work?\tI wonder why.\n
> It's a huge mystery";
> print "<p>Hello,World!\n Hello,World!<br>Hello,World!"; 
> 
> It doesn't even care if the first line is there or not, it's probably
> finding an interpreter to use in the windows path.
> It would be great if I knew what those codes were in the log file when
> the scripts crash.  That information is not available to newbies,
> right?
> Thanks to everyone for the advice.
> Cherie
> 
> -------------------------------------------------------
> To unsubscribe please go to http://www.sambar.ch/list/
> 
> 

-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/



Reply via email to