RE: Perl Codes Written in Windows Env

2003-08-28 Thread Dan Muey
httpd.con file. > Help, Help world!!! -Original Message- From: Dan Muey [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 3:42 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Perl Codes Written in Windows Env > I restored my windows 2000 advanced server, active p

RE: Perl Codes Written in Windows Env

2003-08-28 Thread SiyandaK
EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 3:42 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Perl Codes Written in Windows Env > I restored my windows 2000 advanced server, active perl 5.6 > and apache 1.3. After restorating, my post-news script are > working but the view_news

Re: Perl Codes Written in Windows Env

2003-08-27 Thread Oliver Schnarchendorf
On Tue, 26 Aug 2003 11:25:23 +0200, [EMAIL PROTECTED] wrote: is $ENV all upper case??? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Perl Codes Written in Windows Env

2003-08-26 Thread Dan Muey
> I restored my windows 2000 advanced server, active perl 5.6 > and apache 1.3. After restorating, my post-news script are > working but the view_news script is not working. When i > execute the htm page (on which the view_news script is > suppose to display the news headings) in the browser, t

Re: Perl Codes Written in Windows Env

2003-08-26 Thread zsdc
Chuck Fox wrote: BTW, there is a nifty little program called dos2unix (not sure if this is standard for all (*nix)), that removes extraneous carriage returns from files. To remove every CR, use: perl -pe 's/\r//' or even just tr: tr -d '\r' -zsdc. -- To unsubscribe, e-mail: [EMAIL PRO

Re: Perl Codes Written in Windows Env

2003-08-26 Thread SiyandaK
I restored my windows 2000 advanced server, active perl 5.6 and apache 1.3. After restorating, my post-news script are working but the view_news script is not working. When i execute the htm page (on which the view_news script is suppose to display the news headings) in the browser, the page is bla

Re: Perl Codes Written in Windows Env

2003-08-25 Thread Bob Showalter
Hanson, Rob wrote: > ... Unix uses the sh'bang to determine > where the Perl binary is, and Unix (not Perl) can't understand the > carriage-return character. A minor nit: UNIX "understands" the CR character perfectly; it simply treats it as part of the file name, since it's a legal character.

Re: Perl Codes Written in Windows Env

2003-08-25 Thread Chuck Fox
The big problem is line endings. On WinBlows you need carriage return and line feed (ascii 13 and 10, respectively). However on (*nix) lines are terminated by line feed. By transferring in binary mode, you will see ^M at the end of line (remember ascii 13 ?). This alone should not cause any

Perl Codes Written in Windows Env

2003-08-25 Thread mmbodji
I have a perl script that I developped in a windows machine and it had to be transfered by ftp to a UNIX server. The codes worked fine when I tested them on my windows machine. Is it true that the data could get corrupted while being ftp'ed from Windows to Unix. I was told by the Unix people tha

RE: Perl Codes Written in Windows Env

2003-08-25 Thread Hanson, Rob
L PROTECTED] Sent: Monday, August 25, 2003 4:46 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Perl Codes Written in Windows Env > I have a perl script that I developped in a windows machine > and it had to be > transfered by ftp to a UNIX server. The codes worked fine &

RE: Perl Codes Written in Windows Env

2003-08-25 Thread Dan Muey
> I have a perl script that I developped in a windows machine > and it had to be > transfered by ftp to a UNIX server. The codes worked fine > when I tested them on > my windows machine. Is it true that the data could get > corrupted while being > ftp'ed from Windows to Unix. I was told by th

Perl Codes Written in Windows Env

2003-08-25 Thread mmbodji
I have a perl script that I developped in a windows machine and it had to be transfered by ftp to a UNIX server. The codes worked fine when I tested them on my windows machine. Is it true that the data could get corrupted while being ftp'ed from Windows to Unix. I was told by the Unix people tha