Your second try worked. The dollar sign in those instructions represents the command line prompt. Most *nix commands are silent on success. You can now run the script by typing ./my_program at the prompt.
Even without running ./my_program as an interpreter script, with executable permissions set by the chmod command, you can run it by typing perl my_program
After Compline,
Zaxo
In reply to Re: Using Perl on OS X
by Zaxo
in thread Using Perl on OS X
by 1st_try
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |