|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Comment on |
| ( #3333=superdoc: 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 reply to Re: 3 questions... 2 about newlines, and one on how to be NICE
by brian_d_foy
|
|