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

Re: [MacPerl] When is \r really \n in MacPerl!?



On  9 Feb 98 at 17:22, "Mark F. Murphy" <markm@mail.tyrell.com> 
wrote:    
 
> print 'Ord \r: ' . ord("\r") . "\n";
> print 'Ord \n: ' . ord("\n") . "\n";
> 
> Yields:
> 
> Ord \r: 10
> Ord \n: 13
> 
> In MacPerl 5.1.5r4.
> 
> This is obviously a little backwards.

... togther with a number of further comments.

Out of interest, if you believe \n to be well defined than what would 
you expect it to 
                 print 
                       in 
                          MS-DOS
                                 Perl?

Jon.
--
Jon Warbrick, Computer Systems Manager,                jw35@cus.cam.ac.uk
St John's College, Cambridge, CB2 1TP, UK.             +44 (0)1223 338751
(also webmaster, computer-support and part-time postmaster@joh.cam.ac.uk)

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