Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: 3 questions... 2 about newlines, and one on how to be NICEby brian_d_foy (Abbot) |
on Jan 10, 2005 at 21:09 UTC ( [id://421093]=note: print w/replies, xml ) | Need Help?? |
There's a long section on this is the perlport manpage (perl portability). The "\n" is just a representation of an actual bit pattern, and that bit pattern my be different from system to system. It's a "logical newline", so it ends up being what that system needs as a newline. Some things that really care about the bit patterns (such as protocol modules) sometimes specify the exact bit sequence they want instead of relying on a logical representation.
As for annotating the end of your problem, you could post a thank you with a summary of which answers helped you figure out the solution (or even which didn't). :)
-- brian d foy <bdfoy@cpan.org>
In Section
Seekers of Perl Wisdom
|
|