On Fri, Oct 1, 2010 at 18:56, Brandon McCaig <[email protected]> wrote:
> On Fri, Oct 1, 2010 at 1:07 AM, Chas. Owens <[email protected]> wrote:
>
>> Okay, here is what I think happened: you were print a carriage return.
>
> I thought that Mac OS X used UNIX newlines though (though I'm not a
> Mac user). :-/ So shouldn't "\n" be interpreted as an LF (0x0A) on
> Macs, the same as it would in other unices?
>
> --
> Brandon McCaig <[email protected]>
> V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl.
> Castopulence Software <http://www.castopulence.org/> 
> <[email protected]>
>

OS X does use UNIX newlines and the \n is 0x0A on that platform.  I
don't know how he got a carriage return in there, but it is the only
unexpected control character in his code and it fits the behavior.


-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to