Difference between revisions of "Starting Perl"
From Biolecture.org
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...") |
imported>Joowon Yoon |
||
Line 9: | Line 9: | ||
<p>print "Hello, World!\n";</p> | <p>print "Hello, World!\n";</p> | ||
+ | |||
+ | <p><img alt="" src="/ckfinder/userfiles/images/note.PNG" style="height:153px; width:313px" /></p> | ||
<p>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"</p> | <p>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"</p> | ||
<p>4. Run "cmd"</p> | <p>4. Run "cmd"</p> | ||
+ | |||
+ | <p> </p> | ||
<p>5. Find file directory and lern "Hello.pl" like my example</p> | <p>5. Find file directory and lern "Hello.pl" like my example</p> | ||
<p><img alt="" src="/ckfinder/userfiles/images/run.PNG" style="height:190px; width:436px" /></p> | <p><img alt="" src="/ckfinder/userfiles/images/run.PNG" style="height:190px; width:436px" /></p> |
Latest revision as of 16:41, 26 October 2018
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