Changes

From Biolecture.org

Print 'Hello World!'

674 bytes added, 01:40, 7 December 2018
Created page with "<p>Save a file called hello.pl with this one line:</p> <pre> <strong>print "Hello World\n";</strong></pre> <p>Make sure the Perl executable is on your path.</p> <p>N..."
<p>Save a file called hello.pl with this one line:</p>

<pre>
<strong>print &quot;Hello World\n&quot;;</strong></pre>

<p>Make sure the Perl executable is on your path.</p>

<p>Now type the following command at your command prompt:</p>

<pre>
<strong>perl hello.pl</strong></pre>

<p>If everything&#39;s OK, you should get the following output:</p>

<pre>
<strong>Hello World</strong></pre>

<p>If not, troubleshoot.</p>

<p>&nbsp;</p>

<p><span style="font-size:18px"><strong>Reference</strong></span></p>

<hr />
<p>1. <a href="http://www.troubleshooters.com/codecorn/littperl/perlhelo.htm">&quot;http://www.troubleshooters.com/codecorn/littperl/perlhelo.htm&quot;</a></p>
Anonymous user

Navigation menu