1 |
PERL code is usually put in a file and executed at the command line with
|
2 | where myfile contains PERL source code. |
3 |
PERL code may also be put in an executable file (chmod +x on UNIX) whose first line is
|
4 | where the path depends on your installation. (CGI scripts written in PERL must have such a line.) In this case, simply type |
5 | % myfile |
6 | to compile and execute the code |