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

Re: [MacPerl] Re: Newlines



At 17.03 10/24/97, Patton, Paul B (MN10) wrote:
>There has been much discussion of newlines and other portability
>issues recently. I apologize if this is a bit off-topic, but I've
>been trying to get the script below, which works just fine on my Mac,
>to run successfully on my Win95 PC. I get no errors messages from
>perl, but it also seems to have no effect at all. Is this a Microsoft
>thing?
>
>#!perl
>$^O = "MacOS";

I dunno what you are asking, exactly, and I wonder WHY you would want to assign to $^O?

Anyway, it works fine on MacPerl 5.1.4r4 and UNIX perl 5.004_04.  I don't know why $^O is not read only, but anyway ...

--
Chris Nandor               pudge@pobox.com           http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])
#==                    MacPerl: Power and Ease                     ==#
#==    Publishing Date: Early 1998. http://www.ptf.com/macperl/    ==#



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch