Joseph
2009-09-08 13:27:34 UTC
I'm having trouble running Perl scripts on this setup.
Before you jump and the answer and tell me to include the Perl shebang (#! /usr/bin/perl), please know that I've already included it and it isn't working. The only way I could find to run Perl scripts is to type:
perl script.pl
But I don't want this. I want to be able to invoke my script directly, like so:
script.pl
If I type:
script.pl
I get the following error:
bash: script.pl : No such command
Does the virtual machine have anything to do with this? How can I set up my Perl scripts so they can be invoked directly?