Starting Perl

From Biolecture.org
Revision as of 16:41, 26 October 2018 by imported>Joowon Yoon
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1. We can downlad Activeperl for Windows.

2. Let's make simple code for printing "Hello World!" in perl.

Open a Notepad and type these:

use strict;
use warnings;

print "Hello, World!\n";

3. Save the file with "Hello.pl"      # In my case, I saved it in folder "perl" in "E drive". The file directory is "E:\perl"

4. Run "cmd"

 

5. Find file directory and lern "Hello.pl" like my example