Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

carriage return considered harmful? #149

p5pRT opened this issue Jul 2, 1999 · 1 comment

carriage return considered harmful? #149

p5pRT opened this issue Jul 2, 1999 · 1 comment


Copy link

p5pRT commented Jul 2, 1999

Migrated from (status was 'resolved')

Searchable as RT954$

Copy link

p5pRT commented Jul 2, 1999


I wrote a perl script using a Windows editor on a filesystem mounted
from a Unix host running samba, then tried to run it on the Unix box,
only to be told​:

  perl ./
  Illegal character \015 (carriage return) at ./ line 1.
  (Maybe you didn't strip carriage returns after a network transfer?)

I don't wish to appear confrontational, but of what possible use is
this restriction? What does Perl gain by not treating all whitespace
uniformly? Or is this just a case of Perl having to do everything
differently from every other language?

Oh dear, I got all aggressive, didn't it? Sorry.

But really.

  Mike Taylor
  TECC Ltd.
  Tel. +44 181 880 4040

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant