this is really green.
I am trying to give a script execute permission using
chmod +x scriptname.pl
the script is very simple, as follows:
#!/usr/bin/perl
print "Hello World!/n";
I do the chmod and it doesn't produce any errors, but when i type in "scriptname.pl" bash says it can't find the file.
I've checked to make sure that the perl interpreter is indeed at /usr/bin/perl. Can someone tell me what I'm doing wrong?
Please advise if questions like these are too "newbie" to be posted here.
Thanks in advance,
Jason