|
COMP 2400 Software Tools
Goals:
- Understand Perl
Basics
- Create and run a script to print Hello
World!
- Common extension for a Perl script is
.pl (on Windows .plx)
Useful commands/tips:
- if you make the script executable, you
can run it by typing the name of the script at the command line
- you can also run it as
$ perl -w scriptName.pl
- The first line is always #!/usr/bin/perl
(or the appropriate path to the interpreter)
Useful Links:
Online Tutorial:
|