The $ actually is the shell symbol, you shouldn't really type it, it's there to indicate that you are typing this on a shell... as for not returning anything, that's what the chmod does... it returns something only when it fails, you can now see if it worked by doing
$ ls -l my_program
without the $ of course ;) you'll see the file with the permissions it has
now you do: ./my_program and it should work.
In reply to Re: Using Perl on OS X
by Chady
in thread Using Perl on OS X
by 1st_try
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |