perl testprog
.Under Unix, you can can have this happen automatically by making
#!/usr/local/bin/perl
the first line of your program, and changing the attributes the program file to include 'executable'.
Thus, a typical 'hello world' program looks like:
Things to note:#!/usr/local/bin/perl print "hello world \n";
print
to print the
linefeed "\n"
Comments to:
webmaster@geom.umn.edu
Created: May 07 1996 ---
Last modified: May 29 1996