<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Perl</title>
  <link rel="alternate" type="text/html" href="http://www.jaharmi.com/topic/technology/computing/software/perl"/>
  <link rel="self" type="application/atom+xml" href="http://www.jaharmi.com/taxonomy/term/15/atom/feed"/>
  <id>http://www.jaharmi.com/taxonomy/term/15/atom/feed</id>
  <updated>2008-05-20T15:55:36-05:00</updated>
  <entry>
    <title>Python string method for title case, versus the Daring Fireball script</title>
    <link rel="alternate" type="text/html" href="http://www.jaharmi.com/2008/05/20/python_string_method_for_title_case_versus_the_daring_fireball_script" />
    <id>http://www.jaharmi.com/2008/05/20/python_string_method_for_title_case_versus_the_daring_fireball_script</id>
    <published>2008-05-20T15:55:31-05:00</published>
    <updated>2008-05-20T15:55:36-05:00</updated>
    <author>
      <name>Jaharmi</name>
    </author>
    <category term="Computing" />
    <category term="Humor" />
    <category term="Open source" />
    <category term="Perl" />
    <category term="Python" />
    <category term="Scripting" />
    <category term="Shell" />
    <category term="Software" />
    <category term="Leopard" />
    <category term="Suppliers" />
    <category term="Technology" />
    <summary type="html"><![CDATA[<p>I ran a quick test of the Python &ldquo;title&rdquo; string method (from Python 2.5.1 in Leopard); it fails the tests on the edge cases mentioned in the <a class="freelinking external" href="http://daringfireball.net/2008/05/title_case">Title Case</a> post at Daring Fireball. It really only uppercases the first letter of every word and lowercases everything else.<br />
Not much better than looping through a string with ucfirst() in Perl, except you don't have to do the looping yourself.<br />
Drat. I was expecting better.</p>
    ]]></summary>
    <content type="html"><![CDATA[<p>I ran a quick test of the Python &ldquo;title&rdquo; string method (from Python 2.5.1 in Leopard); it fails the tests on the edge cases mentioned in the <a class="freelinking external" href="http://daringfireball.net/2008/05/title_case">Title Case</a> post at Daring Fireball. It really only uppercases the first letter of every word and lowercases everything else.</p>
<p>Not much better than looping through a string with ucfirst() in Perl, except you don't have to do the looping yourself.</p>
<p>Drat. I was expecting better.</p>
    ]]></content>
  </entry>
</feed>
