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

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




The following:

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.

mark

---------------------------------------------------------------------------
 Mark F. Murphy, Director Software Development   <mailto:markm@tyrell.com>
 Tyrell Software Corp                            <http://www.tyrell.com>
 PowerPerl(tm), Add Power To Your Webpage!       <http://www.powerperl.com>
---------------------------------------------------------------------------
Member of Families Against Internet Censorship: rainbow.rmi.net/~fagin/faic



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