![]() |
|
XP is just a number | |
PerlMonks |
Re^2: Newbie: uses/limits of perl in editing filesby naikonta (Curate) |
on Nov 23, 2007 at 15:33 UTC ( #652595=note: print w/replies, xml ) | Need Help?? |
Caveat: Both of these are for systems where the line ending is "\n" (i.e. not Windows), adjust appropriately for other OSes.I see no caveat in your example regarding \n. This character is just the Perl internal representative of a thing that constitutes line ending. So it will be whatever the underlying OSes (perl is run on) actually use to terminate lines. See how newlines are addressed in perlport. Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!
In Section
Seekers of Perl Wisdom
|
|