Starting Perl

From Biolecture.org
Revision as of 16:40, 26 October 2018 by imported>Joowon Yoon (Created page with "<p>1. We can <a href="https://www.activestate.com/activeperl">downlad Activeperl</a> for Windows.</p> <p>2. Let's make simple code for printing "Hello World!" in p...")
(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