P is for Practical | |
PerlMonks |
Re^3: (OT) Fixing Line Endings - patch the shellby imp (Priest) |
on Nov 30, 2006 at 16:13 UTC ( [id://586982]=note: print w/replies, xml ) | Need Help?? |
I haven't looked at the source to see what would be involved, but my uneducated guess would be that changing the shebang handler to ignore \r wouldn't be very complicated or risky.
We all know that the proper line ending on a unix system is \n , but exploding because someone uploaded a file with a \r at the end of the shebang line isn't really the best approach in my opinion.
In Section
Seekers of Perl Wisdom
|
|