<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ioall on Notes</title>
    <link>https://www.simplicidade.org/tags/ioall/index.xml</link>
    <description>Recent content in Ioall on Notes</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <managingEditor>melo@simplicidade.org (Pedro Melo)</managingEditor>
    <webMaster>melo@simplicidade.org (Pedro Melo)</webMaster>
    <copyright>(c) 2016 Pedro Melo.</copyright>
    <atom:link href="/tags/ioall/index.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsuhhubbub.superfeedr.com/"/>
    
    <item>
      <title>IO::All is evil</title>
      <link>https://www.simplicidade.org/notes/2004/07/16/ioall-is-evil/</link>
      <pubDate>Fri, 16 Jul 2004 22:13:29 +0000</pubDate>
      <author>melo@simplicidade.org (Pedro Melo)</author>
      <guid>https://www.simplicidade.org/notes/2004/07/16/ioall-is-evil/</guid>
      <description>&lt;p&gt;So I was reading &lt;a href=&#34;http://search.cpan.org/~ingy/IO-All-0.22/lib/IO/All.pm&#34;&gt;IO::All&lt;/a&gt; documentation. It seems pretty powerfull and can save me some time whenever I need to read text and parse it.&lt;/p&gt;

&lt;p&gt;Until I came to this:&lt;/p&gt;

&lt;pre&gt;
    A Tiny Web Server

       Here is how you could write a simplistic web server that works with
       static and dynamic pages:

       perl -MIO::All -e &#39;io(&#34;:8080&#34;)-&gt;fork-&gt;accept-&gt;(sub { $_[0] &lt; io(-x $1 ? &#34;./$1 |&#34; : $1) if  /^GET \/(.*) / })&#39;
&lt;/pre&gt;

&lt;p&gt;No, I won&amp;rsquo;t tell you how it works. I had to read the explanation three times to understand it all. See for yourself in the &lt;a href=&#34;http://search.cpan.org/~ingy/IO-All-0.22/lib/IO/All.pm&#34;&gt;IO::All perldoc&lt;/a&gt;.&lt;/p&gt;
</description>
    </item>
    
  </channel>
</rss>