Re: perl scripts in mac
Re: perl scripts in mac
- Subject: Re: perl scripts in mac
- From: Eugene Lee <email@hidden>
- Date: Wed, 31 Mar 2004 02:43:39 -0600
- Mail-followup-to: email@hidden
On Tue, Mar 30, 2004 at 06:54:52PM -0500, Uri Hershberg wrote:
:
: I am trying to use perl scripts for all kinds of analysis and file
: conversions and it seems in capable of working with mac files. it
: worked fine on windows machine and a linux machine but not on my mac .
: When I take my mac files to a Windows XP environment (in Notepad) they
: open without breaks and with this weird character.
: I am assuming that this character is unknown to the perl scrip.
: any suggestions how to fix this?
As others have mentioned, this sounds like a newline issue. If you are
transferring these files via FTP, set the transfer type to ASCII/text
and the FTP transfer will automatically translate the newlines. If you
are transferring these files manually (e.g. via a floppy disk), you must
convert the files from a Mac text file to a Windoze text file before it
can be properly processed by your Perl script.
--
Eugene Lee
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.