<?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>Markus Zeller Blog &#187; perl</title>
	<atom:link href="http://www.markuszeller.com/tag/perl/feed" rel="self" type="application/rss+xml" />
	<link>http://www.markuszeller.com</link>
	<description>Life is just a game</description>
	<lastBuildDate>Sat, 31 Dec 2011 22:09:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Perl 5.8+ on Windows with mySQL</title>
		<link>http://www.markuszeller.com/perl-58-on-windows-with-mysql</link>
		<comments>http://www.markuszeller.com/perl-58-on-windows-with-mysql#comments</comments>
		<pubDate>Mon, 04 May 2009 08:58:54 +0000</pubDate>
		<dc:creator>Markus Zeller</dc:creator>
				<category><![CDATA[Coole Windows Apps]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.markuszeller.com/?p=1387</guid>
		<description><![CDATA[On the last weekend I was helping a friend getting perl on his computer running. He also needed a mySQL Server. He is using Windows, so we hoped it should become easy, because precompiled versions are almost always available for &#8230; <a href="http://www.markuszeller.com/perl-58-on-windows-with-mysql">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On the last  weekend I was helping a friend getting <a href="http://www.activestate.com/activeperl/">perl</a> on his computer running. He also needed a <a href="http://www.mysql.com/">mySQL</a> Server. He is using Windows, so we hoped it should become easy, because precompiled versions are almost always available for the Win32 platform.</p>
<p>With the help of my favourite remote application <a href="http://logmein.com">LogMeIn.com</a> I connected to his windows computer with my Mac. Installation of mySQL was done in a few seconds and ActiveState perl, too.</p>
<p>So we copied my scripts to his machine and did the first run which stopped, because some perl modules are missing. Ok, that is normally no big deal and they can be easily installed with the package manager &#8211; I thought.</p>
<p>A big suprise came up when I typed in <strong>ppm</strong> and saw a GUI. Huh? A Interface for modules in perl? Nice done and easy to use, but <strong>DBD::mysql</strong> is missing.</p>
<p>The next step was to try to use it with the command <strong>cpan</strong> which gives me the classic command line interface shell of the origin ppm. Installation ran quickly thru, but the packages could not be compiled. So I tried to get the ppd file and that lost success, too.</p>
<p>We solved the problem by recognizing that in perl 5.8+ the drivers are not available at all. Using the GUI ppm and adding the repository </p>
<blockquote><p><a href="http://theoryx5.uwinnipeg.ca/ppms/">http://theoryx5.uwinnipeg.ca/ppms/</a></p></blockquote>
<p> made it. Then we just searched for DBD-mysql and it went thru without any further problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markuszeller.com/perl-58-on-windows-with-mysql/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Apache, Perl and Shebang</title>
		<link>http://www.markuszeller.com/apache-perl-and-shebang</link>
		<comments>http://www.markuszeller.com/apache-perl-and-shebang#comments</comments>
		<pubDate>Wed, 26 Nov 2008 13:41:37 +0000</pubDate>
		<dc:creator>Markus Zeller</dc:creator>
				<category><![CDATA[Coole Mac OS X Tricks]]></category>
		<category><![CDATA[Coole Windows Tricks]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.markuszeller.com/?p=368</guid>
		<description><![CDATA[If you are a devoloper and especially for web, then it could be very comfortable to have a local installed Webserver, primarily Apache2.  With a Mac it is absolutely no big deal, because you just go to the Preferences. In &#8230; <a href="http://www.markuszeller.com/apache-perl-and-shebang">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_369" class="wp-caption alignright" style="width: 350px"><img class="size-full wp-image-369" title="Web Server" src="http://www.markuszeller.com/wp-content/uploads/apache.jpg" alt="Web Server on Mac" width="340" height="278" /><p class="wp-caption-text">Web Server on Mac</p></div>
<p>If you are a devoloper and especially for web, then it could be very comfortable to have a local installed Webserver, primarily <a title="Apache" href="http://apache.org/">Apache2</a>. </p>
<p>With a Mac it is absolutely no big deal, because you just go to the Preferences. In the Internet pane you will find a icon named Sharing and within there you can find some sharing services which can be activated by a single click.</p>
<p>For the web service, just enable &#8220;Web Sharing&#8221;. Right next to it you will get told, how this webserver is available. It shows you the URL which you can use and give away. It does contain your current IP address, so that people within and outside your network may see it. You may disable that in the firewall and just use &#8220;localhost&#8221; or its pendant IP 127.0.0.1.</p>
<p><a title="Perl" href="http://www.perl.org/">Perl</a>, <a title="PHP" href="http://php.net/">PHP</a>, <a title="mySQL" href="http://mysql.com/">mySQL</a> and some more things are commonly used for web developing are already included and do work immediately.</p>
<p>If you are a perl programmer you will be familar with the shebang line, which normally points to the perl compiler commonly located on unix-like systems at /usr/bin/perl.</p>
<p>When using Windows, it is a good choice to use <a title="Xampp" href="http://www.apachefriends.org/en/xampp-windows.html">xampp</a>, because it includes all those things in one package which is already preconfigured on a Mac.</p>
<p>But on Windows you although have to do some tricky things, because it has a completely different file structure. If your shebang does not point to the exact path of the perl compiler you will certainly receive a nasty and unwanted <em>&#8220;Couldn&#8217;t create child process: 720003: script.pl&#8221;</em>.</p>
<p>Let us say, you have already an Apache2 running, then open its httpd.conf. Locate the line with &#8220;ScriptInterpreterSource registry&#8221;. If there is a &#8220;#&#8221; before it, then remove it! Next, locate any perl script on your system. Actually doubleclick it and link the extension to be always opened with &#8220;c:/xampp/perl/bin/perl.exe&#8221; or wherever your perl is installed. Reboot, and any script should be able to run without changing the shebang line.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markuszeller.com/apache-perl-and-shebang/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

