Open main menu

Biolecture.org β

Changes

Starting Perl

708 bytes added, 16:40, 26 October 2018
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..."
<p>1. We can <a href="https://www.activestate.com/activeperl">downlad Activeperl</a> for Windows.</p>

<p>2. Let&#39;s make simple code for printing &quot;Hello World!&quot; in perl.</p>

<p>Open a Notepad and type these:</p>

<p>use strict;<br />
use warnings;</p>

<p>print &quot;Hello, World!\n&quot;;</p>

<p>3. Save the file with &quot;Hello.pl&quot;&nbsp; &nbsp; &nbsp; #&nbsp;In my case, I saved it in folder &quot;perl&quot; in &quot;E drive&quot;. The file directory is &quot;E:\perl&quot;</p>

<p>4. Run &quot;cmd&quot;</p>

<p>5. Find file directory and lern &quot;Hello.pl&quot; like my example</p>

<p><img alt="" src="/ckfinder/userfiles/images/run.PNG" style="height:190px; width:436px" /></p>
Anonymous user