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/



Reply via email to