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

Re: [MacPerl] newlines, carriage returns, MacPerl, and the CGIglue



At 5:31 PM -0600 3/19/00, David Steffen wrote:
>Howdy!
>
>   I'm looking for a definitive (and quick!) summary of when the 
>different kinds of newlines do and do not matter to MacPerl.
>
>1) Will MacPerl run a script with non-Mac newlines (e.g. Unix newlines)?

No.


>
>2) Will it run a Perl library or module correctly if it has the 
>wrong newlines?

No.

>3) Will the CGI "glue" work correctly if you open a script with the 
>wrong newlines and "Save As..." "CGI Script"?

Not sure.

>
>(This is for my Perl Monthly column, due very soon, which is why the 
>rush.  Normally I'd do some experiments, but don't know if I have 
>time to hit all the possible trouble spots.)
>
>(I understand how newlines work in data files.  By default, MacPerl 
>expects Macintosh newlines, but by setting built-in variables 
>correctly, you can work with foreign newlines.)
>
>Thanks!
>
>-David-
>David Steffen, Ph.D.
>President, Biomedical Computing, Inc. <http://www.biomedcomp.com/>
>Phone: (713) 610-9770 FAX: (713) 610-9769 E-mail: steffen@biomedcomp.com
>
># ===== Want to unsubscribe from this list?
># ===== Send mail with body "unsubscribe" to macperl-request@macperl.org

-- 
--
Paul Schinder
schinder@pobox.com

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