I have been running perl on Win for almost ten years, and have learned a
little about it (not a programmer mind you, but can usually get around the
periodic problem script).  I would be happy to take a look at the script and
try it out on my various setups (one is NT, the other Win98, and am about to
migrate to XP).  Let me know if this would help.

Brian



-----Original Message-----
From: Christopher Dixon
To: sambar List Member
Sent: 6/24/2004 6:07 AM
Subject: [sambar] still trying...

If I may add my two cents on this subject. The \n and \t will only work 
when used to write to a file. If your wanting html output then you would

need to use html code such as <br> for line break.

Just my two cents of input.

Chris

cherie wrote:

>>Have you tested your script in a dos box? 
>>cd\path to script\ 
>>script name > errors.txt 
>>
>>Peter 
>>Peter: Thank you some more.  My script is in
> 
> C:\temp\sambar60-1\cgi-bin\  It is called x.pl.  Here it
> is:[quote:d9555c8967]#!C:/Perl/bin/perl.exe -wT
> print "backslash n won't work for newline or backslash t for tab!
> \n";
> print "Hello,World!\tHelloWorld!\nHello,World!";[/quote:d9555c8967]
> 
> In IE, http://localhost/cgi-bin/x.pl prints out one line only.  The
> 'hash line' points to my installation in C:\Perl\ yesterday.
> 
> If I open a DOS window on my Windows98 machine, and cd to
> C:\temp\sambar60-1\cgi-bin\  I can then do a DOS dir command and I
> see that x.pl is present.
> I then type x.pl>errors.txt   and the DOS line says 
> Bad command or file name
> 
> if I type C:\temp\sambar60-1\cgi-bin\x.pl > errors.txt   the same
> thing happens.  Somebody told me to try ./x.pl or
> /x.pl>errors.txt  but the same thing comes back:  Bad command or
> file name.  This script works from the browser, albeit without \n
> etc.  I'm in way over my head, I think.
> My friend says she had a lot of problems like this in windows and I
> should find a UNIX server to use.  Or Linux.
> 
> -------------------------------------------------------
> To unsubscribe please go to http://www.sambar.ch/list/
> 
> 
> 
> 
> 
> 



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


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



Reply via email to