On 8/24/05, David Van Ginneken <[EMAIL PROTECTED]> wrote:
> [~]# perl tst

> What happens?  If that works.
That works, it was included in my original posting.
> 
> Try this:
> [~]# cat tst
> #!/usr/bin/perl -w
> print "Hello world\n";
Here goes:
[~]# cat tst
#!/usr/bin/perl -w
print "Hello world\n";
[~]# ./tst
bash: ./tst: /usr/bin/perl: bad interpreter: Toegang geweigerd

And about the carriage return: I was already familiar with that
problem (also mentioned in FAQ7). Although the scripts reside on a smb
share, they have unix-like line endings:

[~]# xxd tst
0000000: 2321 2f75 7372 2f62 696e 2f70 6572 6c20  #!/usr/bin/perl 
0000010: 2d77 0a70 7269 6e74 2022 4865 6c6c 6f20  -w.print "Hello 
0000020: 776f 726c 645c 6e22 3b0a                 world\n";.

Perhaps I should have mentioned, I'm not quite a beginner...

Problem not yet solved, but thanks
Kris

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to