[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-WebCGI] Okey..what next?



At 12:05 PM -0500 3/20/00, Jim Correia wrote:
>
>If you FTP file from your Linux machine to your Mac and back in text
>mode, the ftp transfer will convert the line endings for you.

It depends on the FTP client.  Fetch can but Transmit can't (which is 
what I use).  There's a bit of a bug with Fetch which is why I don't 
use it (plus Transmit is a little prettier and has a few features I 
like).

>If you need to run files with unix line endings on the Mac, you can
>start the run from within BBEdit (5.1 or greater, commercial version)
>and it will detect the situation and insert some magic between you and
>MacPerl to make the right thing happen, so you don't ever have to
>convert the line endings on disk if you don't want to.

That works really well!  Except for one thing, it doesn't look like 
the BBEdit method works with STDIN.  It will work for most of the 
rest though!

>I remember hearing some rumblings about Perl and MacPerl not being so
>picky about the line endings in your program in the future, but I could
>be making it up too.

Oh happy day!  ;-)

Thanks for the response!
   Justin
-- 

--
Justin Shore       K-State Linux Distro Mirror, Sysadmin
macdaddy@vinnie.ksu.ksu.edu
<http://vinnie.ksu.ksu.edu/mirror/rpm2html>
<ftp://vinnie.ksu.ksu.edu/pub/mirror/linux>

*Internet2 Users*
<ftp://quest.ksu.ksu.edu/pub/mirror/linux>

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org