Pages

Monday, November 19, 2012

Hello World! Perl Example

My first PERL program. Create a new file

vi hello_world.pl

#!/usr/bin/perl -w
#
#
print "Hello World!\n";

exit;


Execute the above script with the command below.

perl hello_world.pl