<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:admin="http://webns.net/mvcb/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
<channel>
    <title>Linoleum</title>
    <link>http://linoleum.leapster.org/</link>
    <description>Linux Programming Resources</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.5 - http://www.s9y.org/</generator>
    <managingEditor>paul@dwerryhouse.com.au</managingEditor>
<pubDate>Fri, 28 Oct 2011 21:18:00 GMT</pubDate>

    <image>
        <url>http://linoleum.leapster.org/templates/linoleum/img/s9y_banner_small.png</url>
        <title>RSS: Linoleum - Linux Programming Resources</title>
        <link>http://linoleum.leapster.org/</link>
        <width>100</width>
        <height>21</height>
    </image>

<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/linoleumlinux" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="linoleumlinux" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
    <title>Using Haml in Django Projects</title>
    <link>http://linoleum.leapster.org/archives/276-Using-Haml-in-Django-Projects.html</link>
            <category>django</category>
            <category>python</category>
    
    <comments>http://linoleum.leapster.org/archives/276-Using-Haml-in-Django-Projects.html#comments</comments>
    <wfw:comment>http://linoleum.leapster.org/wfwcomment.php?cid=276</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://linoleum.leapster.org/rss.php?version=2.0&amp;type=comments&amp;cid=276</wfw:commentRss>
    

    <author>nospam@example.com (Paul)</author>
    <content:encoded>
    &lt;a href="http://haml-lang.com/"&gt;Haml&lt;/a&gt; is a markup language used for generating HTML, without using inline coding; it's designed to rectify several problems with traditional HTML templating systems.&lt;br /&gt;
&lt;br /&gt;
Haml is big in the Ruby world, but is now gaining traction in the Python sphere too; here's an article from Stephen Jackson on &lt;a href="http://srayjackson.com/blog/2011/10/23/using-haml-in-django-projects/"&gt;using Haml in Django&lt;/a&gt;. 

    &lt;br/&gt;

    &lt;a href="http://www.pheedo.com/click.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=276"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=276" border="0"&gt;&lt;/a&gt;


    </content:encoded>

    <pubDate>Sat, 29 Oct 2011 08:18:00 +1100</pubDate>
    <guid isPermaLink="false">http://linoleum.leapster.org/archives/276-guid.html</guid>
    
</item>
<item>
    <title>A guide to Python packaging</title>
    <link>http://linoleum.leapster.org/archives/275-A-guide-to-Python-packaging.html</link>
            <category>python</category>
    
    <comments>http://linoleum.leapster.org/archives/275-A-guide-to-Python-packaging.html#comments</comments>
    <wfw:comment>http://linoleum.leapster.org/wfwcomment.php?cid=275</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://linoleum.leapster.org/rss.php?version=2.0&amp;type=comments&amp;cid=275</wfw:commentRss>
    

    <author>nospam@example.com (Paul)</author>
    <content:encoded>
    When developing software, it's important to package your software properly. There's nothing more annoying for the end-user than software that doesn't install or involves considerable manual work before it can be used. Python has a very flexible packaging system - distutils - and Patrick T. Altman has written a &lt;a href="http://www.ibm.com/developerworks/opensource/library/os-pythonpackaging/index.html?ca=drs-"&gt;guide&lt;/a&gt; for using it. 

    &lt;br/&gt;

    &lt;a href="http://www.pheedo.com/click.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=275"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=275" border="0"&gt;&lt;/a&gt;


    </content:encoded>

    <pubDate>Wed, 26 Oct 2011 06:04:00 +1100</pubDate>
    <guid isPermaLink="false">http://linoleum.leapster.org/archives/275-guid.html</guid>
    
</item>
<item>
    <title>The Python Standard Library by Example</title>
    <link>http://linoleum.leapster.org/archives/273-The-Python-Standard-Library-by-Example.html</link>
            <category>python</category>
    
    <comments>http://linoleum.leapster.org/archives/273-The-Python-Standard-Library-by-Example.html#comments</comments>
    <wfw:comment>http://linoleum.leapster.org/wfwcomment.php?cid=273</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://linoleum.leapster.org/rss.php?version=2.0&amp;type=comments&amp;cid=273</wfw:commentRss>
    

    <author>nospam@example.com (Paul)</author>
    <content:encoded>
    Linux Journal have printed &lt;a href="http://www.linuxjournal.com/content/book-excerpt-python-standard-library-example"&gt;chapter 3&lt;/a&gt; of the book &lt;a href="http://amzn.to/nxSRkc"&gt;The Python Standard Library By Example&lt;/a&gt;, covering algorithms. 

    &lt;br/&gt;

    &lt;a href="http://www.pheedo.com/click.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=273"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=273" border="0"&gt;&lt;/a&gt;


    </content:encoded>

    <pubDate>Tue, 25 Oct 2011 06:39:00 +1100</pubDate>
    <guid isPermaLink="false">http://linoleum.leapster.org/archives/273-guid.html</guid>
    
</item>
<item>
    <title>Introduction to C on Linux</title>
    <link>http://linoleum.leapster.org/archives/274-Introduction-to-C-on-Linux.html</link>
            <category>c</category>
    
    <comments>http://linoleum.leapster.org/archives/274-Introduction-to-C-on-Linux.html#comments</comments>
    <wfw:comment>http://linoleum.leapster.org/wfwcomment.php?cid=274</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://linoleum.leapster.org/rss.php?version=2.0&amp;type=comments&amp;cid=274</wfw:commentRss>
    

    <author>nospam@example.com (Paul)</author>
    <content:encoded>
    Linux Career has started a series on &lt;a href="http://how-to.linuxcareer.com/c-development-on-linux-introduction"&gt;C development on Linux&lt;/a&gt;. The first article gives a brief history on the C programming language, explains what tools you'll need to get into it, and shows you how to compile your first C program. 

    &lt;br/&gt;

    &lt;a href="http://www.pheedo.com/click.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=274"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=274" border="0"&gt;&lt;/a&gt;


    </content:encoded>

    <pubDate>Mon, 24 Oct 2011 06:53:00 +1100</pubDate>
    <guid isPermaLink="false">http://linoleum.leapster.org/archives/274-guid.html</guid>
    
</item>
<item>
    <title>Facebook Application Development</title>
    <link>http://linoleum.leapster.org/archives/272-Facebook-Application-Development.html</link>
            <category>javascript</category>
            <category>perl</category>
    
    <comments>http://linoleum.leapster.org/archives/272-Facebook-Application-Development.html#comments</comments>
    <wfw:comment>http://linoleum.leapster.org/wfwcomment.php?cid=272</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://linoleum.leapster.org/rss.php?version=2.0&amp;type=comments&amp;cid=272</wfw:commentRss>
    

    <author>nospam@example.com (Paul)</author>
    <content:encoded>
    Writing in Linux Journal, Mike Diehl describes a few methods for &lt; href="http://www.linuxjournal.com/content/facebook-application-development"&gt;getting data into and out of Facebook&lt;/a&gt;. 

    &lt;br/&gt;

    &lt;a href="http://www.pheedo.com/click.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=272"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=272" border="0"&gt;&lt;/a&gt;


    </content:encoded>

    <pubDate>Sat, 22 Oct 2011 06:12:00 +1100</pubDate>
    <guid isPermaLink="false">http://linoleum.leapster.org/archives/272-guid.html</guid>
    
</item>
<item>
    <title>Dropbox with Perl</title>
    <link>http://linoleum.leapster.org/archives/271-Dropbox-with-Perl.html</link>
            <category>perl</category>
    
    <comments>http://linoleum.leapster.org/archives/271-Dropbox-with-Perl.html#comments</comments>
    <wfw:comment>http://linoleum.leapster.org/wfwcomment.php?cid=271</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://linoleum.leapster.org/rss.php?version=2.0&amp;type=comments&amp;cid=271</wfw:commentRss>
    

    <author>nospam@example.com (Paul)</author>
    <content:encoded>
    Linux Magazine are running a piece on &lt;a href="http://www.linux-magazine.com/w3/issue/129/063-067_Perl.pdf"&gt;using Perl to access Dropbox&lt;/a&gt; (PDF only). The article demonstrates the use of the Mojolicious::Lite and Net::Dropbox::API modules and outlines some scripts for connecting to and querying your Dropbox account. 

    &lt;br/&gt;

    &lt;a href="http://www.pheedo.com/click.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=271"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=271" border="0"&gt;&lt;/a&gt;


    </content:encoded>

    <pubDate>Fri, 21 Oct 2011 07:13:00 +1100</pubDate>
    <guid isPermaLink="false">http://linoleum.leapster.org/archives/271-guid.html</guid>
    
</item>
<item>
    <title>Data mining Twitter, using Ruby</title>
    <link>http://linoleum.leapster.org/archives/270-Data-mining-Twitter,-using-Ruby.html</link>
            <category>ruby</category>
    
    <comments>http://linoleum.leapster.org/archives/270-Data-mining-Twitter,-using-Ruby.html#comments</comments>
    <wfw:comment>http://linoleum.leapster.org/wfwcomment.php?cid=270</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://linoleum.leapster.org/rss.php?version=2.0&amp;type=comments&amp;cid=270</wfw:commentRss>
    

    <author>nospam@example.com (Paul)</author>
    <content:encoded>
    Developer works are running a fantastic article on how to use Ruby to &lt;a href="http://www.ibm.com/developerworks/opensource/library/os-dataminingrubytwitter/index.html?ca=drs-"&gt;mine Twitter for data&lt;/a&gt;. It comes complete with examples on how to find the locations of your followers, extract information about Twitter users, and looking at the behaviour of twitter users. 

    &lt;br/&gt;

    &lt;a href="http://www.pheedo.com/click.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=270"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=270" border="0"&gt;&lt;/a&gt;


    </content:encoded>

    <pubDate>Thu, 20 Oct 2011 06:55:00 +1100</pubDate>
    <guid isPermaLink="false">http://linoleum.leapster.org/archives/270-guid.html</guid>
    
</item>
<item>
    <title>New series on learning shell scripting.</title>
    <link>http://linoleum.leapster.org/archives/269-New-series-on-learning-shell-scripting..html</link>
            <category>bourne shell</category>
    
    <comments>http://linoleum.leapster.org/archives/269-New-series-on-learning-shell-scripting..html#comments</comments>
    <wfw:comment>http://linoleum.leapster.org/wfwcomment.php?cid=269</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://linoleum.leapster.org/rss.php?version=2.0&amp;type=comments&amp;cid=269</wfw:commentRss>
    

    <author>nospam@example.com (Paul)</author>
    <content:encoded>
    For anyone who is new to the Unix world, Linux Magazine is running a series of articles on learning shell scripting. &lt;a href="http://www.linux-mag.com/id/8747/"&gt;Part one&lt;/a&gt; introduces the basics, while &lt;a href="http://www.linux-mag.com/id/8797/"&gt;part two&lt;/a&gt; introduces while loops. 

    &lt;br/&gt;

    &lt;a href="http://www.pheedo.com/click.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=269"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=269" border="0"&gt;&lt;/a&gt;


    </content:encoded>

    <pubDate>Wed, 19 Oct 2011 06:49:48 +1100</pubDate>
    <guid isPermaLink="false">http://linoleum.leapster.org/archives/269-guid.html</guid>
    
</item>
<item>
    <title>Using glade3/gtkbuilder with Ruby</title>
    <link>http://linoleum.leapster.org/archives/268-Using-glade3gtkbuilder-with-Ruby.html</link>
            <category>gtk</category>
            <category>ruby</category>
    
    <comments>http://linoleum.leapster.org/archives/268-Using-glade3gtkbuilder-with-Ruby.html#comments</comments>
    <wfw:comment>http://linoleum.leapster.org/wfwcomment.php?cid=268</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://linoleum.leapster.org/rss.php?version=2.0&amp;type=comments&amp;cid=268</wfw:commentRss>
    

    <author>nospam@example.com (Paul)</author>
    <content:encoded>
    There's very few examples of how to use Glade3 with Ruby, so after an hour of trial and error, I've put together this simple HelloWorld program that shows how to use it:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;#!/usr/bin/env ruby&lt;br /&gt;
&lt;br /&gt;
require 'rubygems'&lt;br /&gt;
require 'gtk2'&lt;br /&gt;
&lt;br /&gt;
class HelloGlade&lt;br /&gt;
  attr :glade&lt;br /&gt;
&lt;br /&gt;
  def initialize&lt;br /&gt;
    if &lt;u&gt;_FILE_&lt;/u&gt; == $0&lt;br /&gt;
      Gtk.init&lt;br /&gt;
      builder = Gtk::Builder::new&lt;br /&gt;
      builder.add_from_file("hello.xml")&lt;br /&gt;
      builder.connect_signals{ |handler| method(handler) }&lt;br /&gt;
      @window = builder.get_object("window1")&lt;br /&gt;
      @window.show()&lt;br /&gt;
      Gtk.main&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;br /&gt;
  def gtk_main_quit&lt;br /&gt;
    puts "Gtk.main_quit"&lt;br /&gt;
    Gtk.main_quit()&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
hello = HelloGlade.new&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;
&lt;br /&gt;
This can be used with the following XML file:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;pre&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;br /&gt;
&amp;lt;interface&amp;gt;&lt;br /&gt;
  &amp;lt;requires lib="gtk+" version="2.24"/&amp;gt;&lt;br /&gt;
  &amp;lt;object class="GtkWindow" id="window1"&amp;gt;&lt;br /&gt;
    &amp;lt;property name="can_focus"&amp;gt;False&amp;lt;/property&amp;gt;&lt;br /&gt;
    &amp;lt;child&amp;gt;&lt;br /&gt;
      &amp;lt;object class="GtkButton" id="button1"&amp;gt;&lt;br /&gt;
        &amp;lt;property name="label" translatable="yes"&amp;gt;button&amp;lt;/property&amp;gt;&lt;br /&gt;
        &amp;lt;property name="visible"&amp;gt;True&amp;lt;/property&amp;gt;&lt;br /&gt;
        &amp;lt;property name="can_focus"&amp;gt;True&amp;lt;/property&amp;gt;&lt;br /&gt;
        &amp;lt;property name="receives_default"&amp;gt;True&amp;lt;/property&amp;gt;&lt;br /&gt;
        &amp;lt;property name="use_action_appearance"&amp;gt;False&amp;lt;/property&amp;gt;&lt;br /&gt;
      &amp;lt;/object&amp;gt;&lt;br /&gt;
    &amp;lt;/child&amp;gt;&lt;br /&gt;
  &amp;lt;/object&amp;gt;&lt;br /&gt;
&amp;lt;/interface&amp;gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;
 

    &lt;br/&gt;

    &lt;a href="http://www.pheedo.com/click.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=268"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=268" border="0"&gt;&lt;/a&gt;


    </content:encoded>

    <pubDate>Fri, 07 Oct 2011 11:23:00 +1100</pubDate>
    <guid isPermaLink="false">http://linoleum.leapster.org/archives/268-guid.html</guid>
    
</item>
<item>
    <title>Using textile markup in Django</title>
    <link>http://linoleum.leapster.org/archives/267-Using-textile-markup-in-Django.html</link>
            <category>django</category>
            <category>python</category>
    
    <comments>http://linoleum.leapster.org/archives/267-Using-textile-markup-in-Django.html#comments</comments>
    <wfw:comment>http://linoleum.leapster.org/wfwcomment.php?cid=267</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://linoleum.leapster.org/rss.php?version=2.0&amp;type=comments&amp;cid=267</wfw:commentRss>
    

    <author>nospam@example.com (Paul)</author>
    <content:encoded>
    Django provides the &lt;tt&gt;django.contrib.markup&lt;/tt&gt; module for marking up text, but unfortunately, the documentation on it is pretty light. Here's a quick guide to using it:&lt;br /&gt;
&lt;br /&gt;
Firstly, you'll need the Python Textile module - on Debian or Ubuntu, install the &lt;tt&gt;python-textile&lt;/tt&gt; package.&lt;br /&gt;
&lt;br /&gt;
Then, add &lt;tt&gt;django.contrib.databrowse&lt;/tt&gt; to your &lt;tt&gt;INSTALLED_APPS&lt;/tt&gt; in &lt;tt&gt;settings.py&lt;/tt&gt;.&lt;br /&gt;
&lt;br /&gt;
At the top of the template that you want to use the markup in, load in the module with:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;tt&gt;{% load markup %}&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
...but make sure it goes &lt;i&gt;after&lt;/i&gt; any &lt;tt&gt;extends&lt;/tt&gt; calls.&lt;br /&gt;
&lt;br /&gt;
Now, you can markup any text variables by adding &lt;tt&gt;|textile&lt;/tt&gt; to them. For example:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;tt&gt;{{ country.notes|textile }&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;
 

    &lt;br/&gt;

    &lt;a href="http://www.pheedo.com/click.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=267"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=267" border="0"&gt;&lt;/a&gt;


    </content:encoded>

    <pubDate>Thu, 01 Sep 2011 13:45:00 +1100</pubDate>
    <guid isPermaLink="false">http://linoleum.leapster.org/archives/267-guid.html</guid>
    
</item>
<item>
    <title>Lazy user signup for Django</title>
    <link>http://linoleum.leapster.org/archives/265-Lazy-user-signup-for-Django.html</link>
            <category>python</category>
    
    <comments>http://linoleum.leapster.org/archives/265-Lazy-user-signup-for-Django.html#comments</comments>
    <wfw:comment>http://linoleum.leapster.org/wfwcomment.php?cid=265</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://linoleum.leapster.org/rss.php?version=2.0&amp;type=comments&amp;cid=265</wfw:commentRss>
    

    <author>nospam@example.com (Paul)</author>
    <content:encoded>
    If you're writing web applications, you've probably found that a user registration page is an anathema to new users - they see a registration form, and it's just too much effort to bother filling in, so they leave.&lt;br /&gt;
&lt;br /&gt;
In order to combat this, Dan Fairs has written &lt;a href="http://www.stereoplex.com/blog/introducing-django-lazysignup"&gt;django-lazysignup&lt;/a&gt;, a Django module that will automatically create a new user for every person who visits your site, which they can later use to create themselves a real account, without losing any of the data that they've used with the site so far. 

    &lt;br/&gt;

    &lt;a href="http://www.pheedo.com/click.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=265"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=265" border="0"&gt;&lt;/a&gt;


    </content:encoded>

    <pubDate>Mon, 25 Apr 2011 11:13:34 +1100</pubDate>
    <guid isPermaLink="false">http://linoleum.leapster.org/archives/265-guid.html</guid>
    
</item>
<item>
    <title>lxml: High-performance Python XML parsing</title>
    <link>http://linoleum.leapster.org/archives/264-lxml-High-performance-Python-XML-parsing.html</link>
            <category>python</category>
            <category>xml</category>
    
    <comments>http://linoleum.leapster.org/archives/264-lxml-High-performance-Python-XML-parsing.html#comments</comments>
    <wfw:comment>http://linoleum.leapster.org/wfwcomment.php?cid=264</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://linoleum.leapster.org/rss.php?version=2.0&amp;type=comments&amp;cid=264</wfw:commentRss>
    

    <author>nospam@example.com (Paul)</author>
    <content:encoded>
    &lt;p&gt;Learn how to process large-volume xml data sets in Python using lxml, with this &lt;a href="http://www.ibm.com/developerworks/opensource/library/x-hiperfparse/index.html?ca=drs-"&gt;in-depth tutorial&lt;/a&gt; from IBM Developerworks.&lt;/p&gt; 

    &lt;br/&gt;

    &lt;a href="http://www.pheedo.com/click.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=264"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=264" border="0"&gt;&lt;/a&gt;


    </content:encoded>

    <pubDate>Mon, 28 Mar 2011 07:55:29 +1100</pubDate>
    <guid isPermaLink="false">http://linoleum.leapster.org/archives/264-guid.html</guid>
    
</item>
<item>
    <title>Porting Perl to Python</title>
    <link>http://linoleum.leapster.org/archives/263-Porting-Perl-to-Python.html</link>
            <category>perl</category>
            <category>python</category>
    
    <comments>http://linoleum.leapster.org/archives/263-Porting-Perl-to-Python.html#comments</comments>
    <wfw:comment>http://linoleum.leapster.org/wfwcomment.php?cid=263</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://linoleum.leapster.org/rss.php?version=2.0&amp;type=comments&amp;cid=263</wfw:commentRss>
    

    <author>nospam@example.com (Paul)</author>
    <content:encoded>
    IBM Developerworks have published a brief article on &lt;a href="http://www.ibm.com/developerworks/linux/library/l-perl-2-python/index.html?ca=drs-"&gt;porting Perl code to Python&lt;/a&gt;. 

    &lt;br/&gt;

    &lt;a href="http://www.pheedo.com/click.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=263"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=263" border="0"&gt;&lt;/a&gt;


    </content:encoded>

    <pubDate>Thu, 02 Sep 2010 19:20:10 +1100</pubDate>
    <guid isPermaLink="false">http://linoleum.leapster.org/archives/263-guid.html</guid>
    
</item>
<item>
    <title>Perl: reading from a string, as if it was a file</title>
    <link>http://linoleum.leapster.org/archives/262-Perl-reading-from-a-string,-as-if-it-was-a-file.html</link>
            <category>perl</category>
    
    <comments>http://linoleum.leapster.org/archives/262-Perl-reading-from-a-string,-as-if-it-was-a-file.html#comments</comments>
    <wfw:comment>http://linoleum.leapster.org/wfwcomment.php?cid=262</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://linoleum.leapster.org/rss.php?version=2.0&amp;type=comments&amp;cid=262</wfw:commentRss>
    

    <author>nospam@example.com (Paul)</author>
    <content:encoded>
    This seems fairly obvious, but somehow, even after fifteen years of Perl exposure, I've only just cottoned on to it now, so presumably this might be of assistance to other people.&lt;br /&gt;
&lt;br /&gt;
Recently, I needed to read data line by line from a string (rather than from a file). You'd think that this would be a fairly common requirement, but evidently I've managed to either avoid it or fudge it up until now.&lt;br /&gt;
&lt;br /&gt;
Anyway, there was no getting around it this time, but it turns out to be rather simple - just pass a reference to the variable when calling open():&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;tt&gt;&lt;br /&gt;
my $text = "&lt;i&gt;Some long text&lt;/i&gt;";&lt;br /&gt;
&lt;br /&gt;
open(TEXT,"&lt;", \$text);&lt;br /&gt;
&lt;br /&gt;
while(&amp;lt;TEXT&amp;gt;) {&lt;br /&gt;
    # do whatever&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
close(TEXT);&lt;br /&gt;
&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
That's all there is to it!&lt;br /&gt;
 

    &lt;br/&gt;

    &lt;a href="http://www.pheedo.com/click.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=262"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=262" border="0"&gt;&lt;/a&gt;


    </content:encoded>

    <pubDate>Wed, 04 Nov 2009 07:51:00 +1100</pubDate>
    <guid isPermaLink="false">http://linoleum.leapster.org/archives/262-guid.html</guid>
    
</item>
<item>
    <title>Potential language changes for JDK7</title>
    <link>http://linoleum.leapster.org/archives/261-Potential-language-changes-for-JDK7.html</link>
            <category>java</category>
    
    <comments>http://linoleum.leapster.org/archives/261-Potential-language-changes-for-JDK7.html#comments</comments>
    <wfw:comment>http://linoleum.leapster.org/wfwcomment.php?cid=261</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://linoleum.leapster.org/rss.php?version=2.0&amp;type=comments&amp;cid=261</wfw:commentRss>
    

    <author>nospam@example.com (Paul)</author>
    <content:encoded>
    Jeremy Manson summarises some &lt;a href="http://jeremymanson.blogspot.com/2009/02/small-language-changes-for-jdk7.html"&gt;changes to the Java language&lt;/a&gt; that have been proposed as a result of a call by Sun for submissions. 

    &lt;br/&gt;

    &lt;a href="http://www.pheedo.com/click.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=261"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=2618085c117445a7b2e53777eca62185&amp;u=261" border="0"&gt;&lt;/a&gt;


    </content:encoded>

    <pubDate>Mon, 02 Mar 2009 15:17:00 +1100</pubDate>
    <guid isPermaLink="false">http://linoleum.leapster.org/archives/261-guid.html</guid>
    
</item>

</channel>
</rss>
