[Israel.pm] newline character as a portability issue

Shlomo Yona shlomo at cs.haifa.ac.il
Thu Jul 8 03:38:36 PDT 2004

On Thu, 8 Jul 2004, Jason Elbaum wrote:

> You're not likely to encounter EBCDIC systems in the wild these days, 
> but you do need to consider just how portable you want your code to be.

Bottom line...

say I have a regex pattern:
and I want this to be portable across systems (I have no
knowledge of the text I'm receiving as input) what should
stand instead of \n in the pattern?

How can I make this platform dependent?

Shlomo Yona
shlomo at cs.haifa.ac.il

More information about the Perl mailing list