Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Scripting trouble
October 1, 2004, 8:14 pm
rate this thread
I created a file script (no extensions) as follows:
And then I save it. After that I go to my shell and try running this
file and I get the following message:
bash: /Users/Y/script: /usr/bin/perl: bad interpreter: Permission
Any idea what I am doing wrong, and how I can fix this?
Re: Scripting trouble
Did you set your file to be executable with the 'chmod +x filename'
Does the /usr/bin/perl file exist and is executable?
Did you know that perl does not have an echo function?
Are you trying to run a perl program or a bash script?
What version of OSX are you running, and on what platform?
The answers to these questions may help someone help you.
- » How do I convert TIME into Cookie and last-modified-time format?
- — Previous thread in » PERL Discussions