| mauke | what's the error? |
| ALVAN | premature end of scripts |
| mauke | no, the real error |
| ALVAN | mauke, a second |
| mauke | i.e. when you run it from the command line |
| ALVAN | right :) |
| buu | mauke: D00d, you're famous |
| ALVAN | mauke, nea works fine |
| mauke | where? |
| ALVAN | even in cli |
| mauke | how did you run it? |
| ALVAN | only on browser i see the error |
| buu | ALVAN: You've got a \r on the end of your shebang. |
| ALVAN | mauke, perl search.pl |
| buu | Which bypasses the shebang. |
| mauke | ALVAN: try ./search.pl |
| ALVAN | hm ok ": No such file or directory. |
| buu | I say again my last |
| ALVAN | Use -S to search $PATH for it. |
| buu | I TOLD YOU THE DAMN ERROR |
| ALVAN | buu, ok :) but shebang dont know what means :) i am a poor perl writer |
| mauke | the #! line |
| ALVAN | so i must rewrite the first line |
| mauke | there's a carriage return at the end of it, probably because file is in windows format |
| ew73 | I'll go next, guys. |
| action | buu tags ew73. |
| buu | tags ew73. |
| action | ew73 cleans up the mess. |
| ew73 | cleans up the mess. ALVAN: Did you know your #! line has a carriage return at the end? |
| ALVAN | mauke, ok that explians it those ^M characters |
| buu | Haha |
| ALVAN | i will rewrite the hole line buu, well even now i dont saw wher it is but i can imagine ..damn i hate that buu, and this affects even if that is present among other lines ? |
| buu | No. |
| ALVAN | well deleted that line and added again using vi editor still breaks |
| buu | Vi is in win32 mode Any line you add will also contain the \rs. |
| ew73 | Forsooth, cur! Nay a line shall pass unto the parser with a return of carraige appended thus. Mayhap, and I prithee, thou shall learn God's Tounge: English? |