#perl - Sun 22 Apr 2007 between 01:29 and 01:39



maukewhat's the error?
ALVANpremature end of scripts
maukeno, the real error
ALVANmauke, a second
maukei.e. when you run it from the command line
ALVANright :)
buumauke: D00d, you're famous
ALVANmauke, nea works fine
maukewhere?
ALVANeven in cli
maukehow did you run it?
ALVANonly on browser i see the error
buuALVAN: You've got a \r on the end of your shebang.
ALVANmauke, perl search.pl
buuWhich bypasses the shebang.
maukeALVAN: try ./search.pl
ALVANhm ok
": No such file or directory.
buuI say again my last
ALVANUse -S to search $PATH for it.
buuI TOLD YOU THE DAMN ERROR
ALVANbuu, ok :)
but shebang dont know what means :) i am a poor perl writer
maukethe #! line
ALVANso i must rewrite the first line
maukethere's a carriage return at the end of it, probably because file is in windows format
ew73I'll go next, guys.
actionbuu tags ew73.
buutags ew73.
actionew73 cleans up the mess.
ew73cleans up the mess.
ALVAN: Did you know your #! line has a carriage return at the end?
ALVANmauke, ok that explians it those ^M characters
buuHaha
ALVANi 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 ?
buuNo.
ALVANwell deleted that line and added again using vi editor still breaks
buuVi is in win32 mode
Any line you add will also contain the \rs.
ew73Forsooth, 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?

Page: 4 11 18 25 32 39 46 53 60 67 

IrcArchive