2. Print 'Hello World!'
Revision as of 01:36, 7 December 2018 by imported>SeoGaLam
Save a file called hello.pl with this one line:
<strong>print "Hello World\n";</strong>
Make sure the Perl executable is on your path.
Now type the following command at your command prompt:
<strong>perl hello.pl</strong>
If everything's OK, you should get the following output:
<strong>Hello World</strong>
If not, troubleshoot.
Reference
1. "http://www.troubleshooters.com/codecorn/littperl/perlhelo.htm"