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

Closed
p5pRT opened this issue Jul 2, 1999 · 1 comment
Closed

carriage return considered harmful? #149

p5pRT opened this issue Jul 2, 1999 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Jul 2, 1999

Migrated from rt.perl.org#954 (status was 'resolved')

Searchable as RT954$

@p5pRT
Copy link
Author

p5pRT commented Jul 2, 1999

From mike@tecc.co.uk

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 ./test.pl
  Illegal character \015 (carriage return) at ./test.pl 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.
  mike@​tecc.co.uk
  Tel. +44 181 880 4040

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

No branches or pull requests

1 participant