<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Learning is an Art &#187; perl</title>
	<atom:link href="http://www.singhvishwajeet.com/tag/perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.singhvishwajeet.com</link>
	<description>My experiences</description>
	<lastBuildDate>Thu, 10 Jun 2010 22:19:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Getting Started with Perl on Windows</title>
		<link>http://www.singhvishwajeet.com/2008/08/12/getting-started-with-perl-on-windows/</link>
		<comments>http://www.singhvishwajeet.com/2008/08/12/getting-started-with-perl-on-windows/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 17:51:31 +0000</pubDate>
		<dc:creator>Vishwajeet Singh</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.singhvishwajeet.com/?p=8</guid>
		<description><![CDATA[ [...]]]></description>
			<content:encoded><![CDATA[<p><strong>What is Perl?</strong>Perl is a programming language referred <em>as<strong> P</strong>ractical <strong>E</strong>xtraction and <strong>R</strong>eporting <strong>L</strong>anguage</em> written by Larry Wall. It was written with a motto TMTOWTDI i.e.</p>
<p><strong>T</strong>here&#8217;s <strong>M</strong>ore <strong>T</strong>han <strong>O</strong>ne <strong>W</strong>ay <strong>T</strong>o <strong>D</strong>o <strong>I</strong>t.</p>
<p><strong>Perl Properties</strong></p>
<ul type="disc">
<li>Interpreted Language</li>
<li>&#8220;Object-Oriented&#8221;</li>
<li>Cross-platform</li>
<li>Extensible, rich set of libraries</li>
<li>Used for Web Programming</li>
</ul>
<p><strong>What do you need?</strong></p>
<ul type="disc">
<li><a href="http://www.activestate.com/store/download.aspx?prdGUID=81fbce82-6bd5-49bc-a915-08d58c2648ca">Active state Perl</a> or any other standard Perl interpreter</li>
<li>Any text editor such as notepad</li>
</ul>
<p>You can download Perl installer from <a href="http://www.activestate.com/store/download.aspx?prdGUID=81fbce82-6bd5-49bc-a915-08d58c2648ca">ActiveState download website</a>, you will get a list of installers there, download installer for windows.</p>
<p>Install ActiveState Perl, it does not takes much, simply double click on msi installer file and it will guide you through the rest of installation process.</p>
<p>Now that your installation is over simply go to windows command prompt and do the following</p>
<div class="codesnip-container" >perl -v</div>
<p>You should get the result as below</p>
<div class="codesnip-container" >This is perl, v5.8.8 built for MSWin32-x86-multi-thread<br />
(with 50 registered patches, see perl -V for more detail)</div>
<p>If you get these lines on command prompt, it means that Perl is successfully installed on your machine.</p>
<p><strong>My First program</strong></p>
<p>Just open your favorite editor and type the following lines</p>
<div class="codesnip-container" >#this is my first program<br />
print &#8220;Hell World this is my first program&#8221;;</div>
<p>Your hello world program is ready save it as <em>&#8220;helloworld.pl&#8221;</em> in any directory you feel like.</p>
<p>Go to command prompt and change the current directory to directory where you have saved your <em>&#8220;helloworld.pl&#8221;</em> and type on command line</p>
<div class="codesnip-container" >perl helloworld.pl</div>
<p>You will get output as:
<div class="codesnip-container" >Hell World this is my first program</div>
<p><strong>Key things to notice:</strong></p>
<ul>
<li>Everything that starts with a hash is a comment in perl</li>
<li>Perl statement ends with a semicolon</li>
</ul>
<p>Perl is a lot more than this hello world program, this was just to give you taste of Perl.</p>
<p>I will be back soon with more elaborate articles on Perl, please keep checking this place.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.singhvishwajeet.com/2008/08/12/getting-started-with-perl-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
