![]() |
|
Welcome to the Monastery | |
PerlMonks |
She-bang confusionby pepik_knize (Scribe) |
on Apr 08, 2002 at 18:31 UTC ( #157510=perlquestion: print w/replies, xml ) | Need Help?? |
pepik_knize has asked for the wisdom of the Perl Monks concerning the following question:
Greetings Monks,
I keep getting this weird error: ": No such file or directory or bash: ./inventory: bad interpreter: No such file or directory when I remove the -w from #!/usr/bin/perl from the script inventory. If I run any other scripts without flags, it works fine. Here's what I suspect the problem is: inventory was written on a Windows box running cygwin, and I'm modifying and testing it on a Linux laptop (RH 7.2, perl 5.6.0) and desktop (RH 6.2, perl 5.005_03). When I edit it in vim, it displays DOS at the bottom of the screen, so I think it knows something. Are my linux boxes just being snobbish? Does windows put some trailing : to screw with me? If so, why can't I see it/ get rid of it? Thanks for the enlightenment, Pepik
Back to
Seekers of Perl Wisdom
|
|