<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Alberto Simões</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/" />
    <link rel="self" type="application/atom+xml" href="http://blogs.perl.org/users/alberto_simoes/atom.xml" />
    <id>tag:blogs.perl.org,2009-11-03:/users/alberto_simoes//250</id>
    <updated>2013-02-11T13:48:06Z</updated>
    <subtitle>A blog about the Perl programming language</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 4.38</generator>

<entry>
    <title>About the Grants Committee</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/2013/02/about-the-grants-committee.html" />
    <id>tag:blogs.perl.org,2013:/users/alberto_simoes//250.4312</id>

    <published>2013-02-11T13:28:19Z</published>
    <updated>2013-02-11T13:48:06Z</updated>

    <summary>As some of you probably noticed, from my post in TPF blog, there were no grant proposals in the last six months. I am not sure how to interpret this lack of interest in grants. But there are some ideas...</summary>
    <author>
        <name>Alberto Simões</name>
        <uri>http://ambs.perl-hackers.net/</uri>
    </author>
    
    <category term="grants" label="grants" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/alberto_simoes/">
        <![CDATA[<p>As some of you probably noticed, from my <a href="http://news.perlfoundation.org/2013/02/2013q1-grant-proposals.html">post in TPF blog</a>, there were no grant proposals in the last six months. I am not sure how to interpret this lack of interest in grants. But there are some ideas that come to my head:<br />
<ul><br />
	<li>People do not need money :-)</li><br />
    <li>People prefer to do things by themselves, without any schedule or pressure;</li><br />
<li>Nobody uses Perl anymore </li><br />
<li>Everything Perl needs is already on CPAN</li><br />
<li>The maximum amount of a grant ($3000) it not paying anything</li><br />
</ul><br />
I am not sure if there are other reasons. But I would love to hear comments (constructive comments, please) about this issue.</p>

<p> I must say that the less grants proposals we receive, the less I need to work. But I volunteered, and it would make me happy to have interesting projects running.</p>]]>
        
    </content>
</entry>

<entry>
    <title>TPF with new Call For Grants</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/2013/01/tpf-with-new-call-for-grants-1.html" />
    <id>tag:blogs.perl.org,2013:/users/alberto_simoes//250.4175</id>

    <published>2013-01-04T13:29:39Z</published>
    <updated>2013-01-04T13:31:04Z</updated>

    <summary>As usual TPF just published another call for grant proposals, ranging from $500 to $2000. The official call for proposals is available here: http://news.perlfoundation.org/2013/01/2013q1-call-for-grant-proposal.html...</summary>
    <author>
        <name>Alberto Simões</name>
        <uri>http://ambs.perl-hackers.net/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/alberto_simoes/">
        <![CDATA[<p>As usual TPF just published another call for grant proposals, ranging from $500 to $2000. The official call for proposals is available here: http://news.perlfoundation.org/2013/01/2013q1-call-for-grant-proposal.html</p>]]>
        
    </content>
</entry>

<entry>
    <title>Versioning Loops</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/2012/12/versioning-loops.html" />
    <id>tag:blogs.perl.org,2012:/users/alberto_simoes//250.4097</id>

    <published>2012-12-03T18:01:48Z</published>
    <updated>2012-12-03T18:05:14Z</updated>

    <summary>I just found something interesting.. well, at least, fun: Package namespace installed latest in CPAN file Perl::MinimumVersion 1.29 1.30 CHORNY/Perl-MinimumVersion-1.30.tar.gz After installing Perl::MinimumVersion, I get: Package namespace installed latest in CPAN file Perl::MinimumVersion::Reason 1.20 1.29 CHORNY/Perl-MinimumVersion-1.29.tar.gz And if I ask...</summary>
    <author>
        <name>Alberto Simões</name>
        <uri>http://ambs.perl-hackers.net/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/alberto_simoes/">
        <![CDATA[<p>I just found something interesting.. well, at least, fun:</p>
<pre>
Package namespace         installed    latest  in CPAN file
Perl::MinimumVersion           1.29      1.30  CHORNY/Perl-MinimumVersion-1.30.tar.gz
</pre>
<p>After installing <tt>Perl::MinimumVersion</tt>, I get:</p>
<pre>
Package namespace         installed    latest  in CPAN file
Perl::MinimumVersion::Reason      1.20      1.29  CHORNY/Perl-MinimumVersion-1.29.tar.gz
</pre>
<p>And if I ask to install <tt>Perl::MinimumVersion::Reason</tt>, yeah, of course, I get:</p>
<pre>
Package namespace         installed    latest  in CPAN file
Perl::MinimumVersion           1.29      1.30  CHORNY/Perl-MinimumVersion-1.30.tar.gz
</pre>
<p>Probably a good idea to add a bug report... later.</p>
<p>But fun to have problems with versions on a module that deals with versions.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Filters with Template Toolkit</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/2012/11/filters-with-template-toolkit.html" />
    <id>tag:blogs.perl.org,2012:/users/alberto_simoes//250.4048</id>

    <published>2012-11-15T18:08:46Z</published>
    <updated>2012-11-15T18:41:20Z</updated>

    <summary>In the last days I&apos;ve been preparing a web site where I want to show values in four different currencies, accordingly with the user choice, and keeping up with the current exchange quote. I do not want to talk about...</summary>
    <author>
        <name>Alberto Simões</name>
        <uri>http://ambs.perl-hackers.net/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/alberto_simoes/">
        <![CDATA[In the last days I've been preparing a web site where I want to show values in four different currencies, accordingly with the user choice, and keeping up with the current exchange quote. I do not want to talk about how to get those values, or what values or website I am building, but just share an experience I've got with Template Toolkit that made it easy to separate the values conversion from the core code.<br />]]>
        <![CDATA[The idea is to create a Template Toolkit filter, that filters variables in the template that needs conversion. This filter uses a rate value and a currency code to know how to compute the correct value, and how to format it.<br /><br />I called this filter <b>Currencify, </b>and its code is something like this:
<pre>package GF::Template::Plugin::Currencify;

use warnings;
use strict;

use Template::Plugin::Filter;
use parent qw( Template::Plugin::Filter );


sub filter {
  my ($self, $text) = @_;

  my $args     = $self-&gt;{_ARGS};
  my $currency = $args-&gt;[0] || 'USD';
  my $rate     = $args-&gt;[1] || 1;

  $text = sprintf("%.3f", $text * $rate);

  if ($currency eq "EUR") { return "€&nbsp;$text";    }
  elsif ($currency eq "GBP") {  return "£&nbsp;$text";   }
  elsif ($currency eq "CHF") {  return "CHF&nbsp;$text";  }
  else {  return "\$&nbsp;$text"; }

  return $text;
}
</pre>

The arguments that are extracted in the beginning are the currency code (like EUR) and the rate to convert the value from USD to the supplied currency. The template, then, imports the filter with those arguments:

<pre>[% use Currencify currency rate %]
</pre>

and in the template, it is just a matter of calling Currencify filter to all values that should be converted:
<pre>[% value | $Currencify %]
</pre>

To fill in the template, you just need to supply the currency code, the rate, and all the values in USD.]]>
    </content>
</entry>

<entry>
    <title>PtPW 2012 recorded in Video</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/2012/10/ptpw-2012-recorded-in-video.html" />
    <id>tag:blogs.perl.org,2012:/users/alberto_simoes//250.3994</id>

    <published>2012-10-26T20:58:08Z</published>
    <updated>2012-10-26T20:59:40Z</updated>

    <summary>This is not that interesting for most people that can not understand Portuguese. Nevertheless, the Portuguese Perl Workshop was recorded in Video, and we managed to upload the talks and a Moose tutorial to youtube. Check the talk list and...</summary>
    <author>
        <name>Alberto Simões</name>
        <uri>http://ambs.perl-hackers.net/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/alberto_simoes/">
        <![CDATA[<p>This is not that interesting for most people that can not understand Portuguese. Nevertheless, the Portuguese Perl Workshop was recorded in Video, and we managed to upload the talks and a Moose tutorial to youtube. Check the talk list and links to the videos in out <a href="http://perl.pt/2012/10/ptpw-2012-em-video.html">perl.pt blog</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>YAPC::EU::2012, the good parts</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/2012/08/yapceu2012-the-good-parts.html" />
    <id>tag:blogs.perl.org,2012:/users/alberto_simoes//250.3754</id>

    <published>2012-08-27T18:24:48Z</published>
    <updated>2012-08-27T18:40:59Z</updated>

    <summary>I think some people did not interpret my last post correctly, I think I hated YAPC::EU::2012 (or at least, that is what I understand from Gabor comment on his Perl Weekly). Well, no, the post points three things I did...</summary>
    <author>
        <name>Alberto Simões</name>
        <uri>http://ambs.perl-hackers.net/</uri>
    </author>
    
        <category term="YAPC" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="YAPC::EU" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="girl" label="girl" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="matt" label="matt" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mop" label="mop" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="perl" label="perl" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="perl5" label="perl 5" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="yapceu" label="yapceu" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="yapceu2012" label="yapceu2012" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/alberto_simoes/">
        <![CDATA[<p>I think some people did not interpret my last post correctly, I think I hated YAPC::EU::2012 (or at least, that is what I understand from Gabor comment on his Perl Weekly). Well, no, the post points three things I did not like, meaning that everything else was fun.</p>

<p>But I would like to point some details. First, congratulations to the organizers for the courage to prepare proceedings. Of course I was angry because the article I took some time to write was not there. Also, because although I mailed the organizers, they did not answer or said anything. Nevertheless, I like the idea of having proceedings for YAPC::EU. Not like the mojolicious article with screenshots of the slides, but like mostly all the others articles. And the proceedings are with great quality, both in printing, paper and design. I hope they make the final PDF available as well (paper is hard to find after some months).</p>

<p>It was very cool to have lightning talks in all days. I think we should go in that direction. It is difficult for a speaker to get the listener attention for more than 20 minutes (even 20 minutes is hard for me... but I am a pretty bad speaker).</p>

<p>From the talks I attended to, I liked very much the MOP talk from Stevan Little. I think this is the way to go for Perl (5): continue evolving. Now I am here expecting that MOP becomes a reality.</p>

<p>I loved having Matt closing the conference, with his typical crazy keynote. I don't know whose idea was, but my congratulations. It was very cool.</p>

<p>The place for the pre-conference meeting was great. Lot of space to chat, seated, walking, etc. I know we had some issues with the Caffee, waiting more than one hour and half for a simple breaded beef, but the place was great. And there were other caffees one could use.</p>

<p>Oh, and talking about Frankfurt, I loved the girls, blond and blue eyed girls...</p>]]>
        
    </content>
</entry>

<entry>
    <title>YAPC::EU::2012, what I missed</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/2012/08/yapceu2012-what-i-missed.html" />
    <id>tag:blogs.perl.org,2012:/users/alberto_simoes//250.3734</id>

    <published>2012-08-24T12:25:41Z</published>
    <updated>2012-08-24T12:38:00Z</updated>

    <summary>YAPC::EU is over. It was a nice conference, but there were a couple of things I&apos;ve missed. The first one is obvious: air conditioning. We had a too hot weather. I understand that Germany is used to cold, not hot....</summary>
    <author>
        <name>Alberto Simões</name>
        <uri>http://ambs.perl-hackers.net/</uri>
    </author>
    
        <category term="Perl" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="YAPC::EU" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="airconditioning" label="air conditioning" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="auction" label="auction" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="josettegarcia" label="josette garcia" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="oreilly" label="o&apos;reilly" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="perl" label="perl" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="yapceu" label="yapceu" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="yapceu2012" label="yapceu2012" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/alberto_simoes/">
        <![CDATA[<p>YAPC::EU is over. It was a nice conference, but there were a couple of things I've missed. The first one is obvious: air conditioning. We had a too hot weather. I understand that Germany is used to cold, not hot. Nevertheless, next YAPC::EU users, remind that 300 or more people in a room, half with their laptops and gadgets turned on, produce a lot of heat. So, be sure at least the main room has a decent air conditioning system.</p>

<p>The second miss was Josette Garcia, from O'Reilly. This year's O'Reilly bank was a delusion. First, more than half the books were in German. This doesn't just limit the people that will buy a book to half, but it also shows lack of consideration for the remaining attendees. Also, the books that weren't in German, were the basic Perl books that most people have. Perl hackers like to learn other languages, like to read about other technologies. They even like to buy books not at all related to technology. I imagine Josette has a lot of work on every YAPC, with the amount and diversity of books, but I also imagine that she would have a higher revenue on sold books.</p>

<p>Finally, I missed the auction. Not sure about you people, but I don't look to YAPC's auction as just a mean to get money. It is a social event. Without the auction, and with my experience dealing with O'Reilly, I wonder how was the sponsorship. They usually don't give money, only books. If we didn't have an auction, how was the sponsorship? It is just strange. But that doesn't matter. I just missed the auction. Please, bring back the tradition.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Building C and C++ libraries with Perl</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/2012/08/building-c-and-c-libraries-with-perl.html" />
    <id>tag:blogs.perl.org,2012:/users/alberto_simoes//250.3714</id>

    <published>2012-08-21T08:02:51Z</published>
    <updated>2012-08-21T08:06:38Z</updated>

    <summary>It seems that somebody screwed it, and forgot one 20 pages article I wrote for YAPC::EU::2012 proceedings. Therefore, the proceedings are shorter, and are shamelessly incomplete. Anyway, you can read my article in all its glory here. And sooner or...</summary>
    <author>
        <name>Alberto Simões</name>
        <uri>http://ambs.perl-hackers.net/</uri>
    </author>
    
        <category term="Perl" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Perl Module" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Programming" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="YAPC::EU" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="article" label="article" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="extutilscbuilder" label="extutils-cbuilder" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="extutilslibbuilder" label="ExtUtils-LibBuilder" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="proceedings" label="proceedings" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="yapceu2012" label="yapceu2012" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/alberto_simoes/">
        <![CDATA[It seems that somebody screwed it, and forgot one 20 pages article I wrote for YAPC::EU::2012 proceedings. Therefore, the proceedings are shorter, and are shamelessly incomplete. Anyway, you can read my article in all its glory <a href="http://eremita.di.uminho.pt/%7Eambs/Building_c_cpp_libs_with_perl.pdf">here</a>. And sooner or later I'll add the presentation too.<br />]]>
        
    </content>
</entry>

<entry>
    <title>TPF with new Call For Grants</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/2012/07/tpf-with-new-call-for-grants.html" />
    <id>tag:blogs.perl.org,2012:/users/alberto_simoes//250.3534</id>

    <published>2012-07-12T15:12:57Z</published>
    <updated>2012-07-12T15:14:46Z</updated>

    <summary>The Perl Foundation has a new call for grants open. Check details here...</summary>
    <author>
        <name>Alberto Simões</name>
        <uri>http://ambs.perl-hackers.net/</uri>
    </author>
    
        <category term="Grants" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="grants" label="Grants" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/alberto_simoes/">
        <![CDATA[<p>The Perl Foundation has a new call for grants open. Check details <a href="http://news.perlfoundation.org/2012/07/2012q3-call-for-grant-proposal.html">here</a></p>]]>
        
    </content>
</entry>

<entry>
    <title>CPAN is all broken, now</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/2012/06/cpan-is-all-broken-now.html" />
    <id>tag:blogs.perl.org,2012:/users/alberto_simoes//250.3346</id>

    <published>2012-06-05T18:02:25Z</published>
    <updated>2012-06-05T18:05:07Z</updated>

    <summary>I am not sure whose fault is, but Test::Pod now verifies for characters outside ASCII, and complains a missing =encoding directive. I like this check to be done, but I do not think that breaking half of the CPAN is...</summary>
    <author>
        <name>Alberto Simões</name>
        <uri>http://ambs.perl-hackers.net/</uri>
    </author>
    
        <category term="Perl" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="cpan" label="cpan" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="encoding" label="encoding" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="perl" label="perl" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/alberto_simoes/">
        <![CDATA[<p>I am not sure whose fault is, but Test::Pod now verifies for characters outside ASCII, and complains a missing <code>=encoding</code> directive. I like this check to be done, but I do not think that breaking half of the CPAN is a good idea. It would be better to just carp for the error, but not make it fail. This would give time to authors to fix their modules. In a later release, this could be a fatal error.</p>

<p>Now, we have Dancer, DBI and a lot of other modules broken, not installing cleanly from CPAN.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Stealing from Python</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/2012/06/stealing-from-python.html" />
    <id>tag:blogs.perl.org,2012:/users/alberto_simoes//250.3341</id>

    <published>2012-06-03T19:59:54Z</published>
    <updated>2012-06-03T20:12:54Z</updated>

    <summary>We all know that Python, Perl and Ruby (ok, and PHP, and probably other languages) are always stealing ideas from one another. This is a nice thing to do. After programming a few with Python there is a couple of...</summary>
    <author>
        <name>Alberto Simões</name>
        <uri>http://ambs.perl-hackers.net/</uri>
    </author>
    
        <category term="Perl" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Perl Syntax" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="perl" label="perl" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="syntax" label="syntax" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/alberto_simoes/">
        <![CDATA[<p>We all know that Python, Perl and Ruby (ok, and PHP, and probably other languages) are always stealing ideas from one another. This is a nice thing to do.</p>

<p>After programming a few with Python there is a couple of details I like. I know not all are possible to implement in Perl. Some of them are, and I would love if they were. I know not all people agree with me (that good, too). Nevertheless, I present here a couple of ideas.</p>

<p>Although I do not like relying only in indentation for blocks, I like the fact that conditionals and loops does not need parenthesis. It makes the code much more legible. I imagine that to make this in Perl it would be crazy. Good enough we don't need them when using it as a modifier.</p>

<p>Another clean idea from Python is the <strong>in</strong> operator. For me it makes more sense to ask <strong>if $var in @array</strong> or <strong>if $var in %hash</strong> than using the <strong>~~</strong> operator (that some claim to have a couple of flaws) or using <strong> if grep { $_ eq $var } @array </strong> or <strong> if exists($hash{$var})</strong>. Notice the number of characters needed in each approach, and the number of characters that need modifier keys.</p>

<p>Having <strong>in</strong> as a reserved word, we might even be able to write things like <strong>for $x in @array</strong> or <strong>for $x in keys(%hash)</strong>. I agree I am walking in Python direction. But that's not necessarily bad.</p>

<p>Finally, Python has a couple of built-in methods that might make some sense, like <strong>max</strong> and <strong>min</strong> (that are parametrized letting you specify how to compute values from the elements in the list). Even <strong>sum</strong> might make some sense (but would not be a priority). I know these are available on modules, and that <strong>blessed()</strong> is more urgent.</p>

<p>OK, now, please, do not slap me too hard :) </p>]]>
        
    </content>
</entry>

<entry>
    <title>Using the Record Separator</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/2012/05/using-the-record-separator.html" />
    <id>tag:blogs.perl.org,2012:/users/alberto_simoes//250.3238</id>

    <published>2012-05-13T12:35:51Z</published>
    <updated>2012-05-13T12:39:50Z</updated>

    <summary>I use Perl for years, but there are some details that I still am unable to use correctly in Perl. I think they should be my fault. And probably, if I rtfm I would get an answer. Nevertheless, and although...</summary>
    <author>
        <name>Alberto Simões</name>
        <uri>http://ambs.perl-hackers.net/</uri>
    </author>
    
        <category term="Perl Syntax" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="perl" label="perl" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="question" label="question" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="recordseparator" label="record separator" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/alberto_simoes/">
        <![CDATA[<p>I use Perl for years, but there are some details that I still am unable to use correctly in Perl. I think they should be my fault. And probably, if I rtfm I would get an answer. Nevertheless, and although this is not <i>perlmonks</i>, I'll post my problem anyway.</p>

<p>I use <code>local $/ = "\n\n"</code> as record separator to read a file. The code that processes that file, uses a module, that decides to open a config file, and that expects that the record separator is a single new line. That library fails.</p>

<p>My main doubt is if all modules shout set the record separator explicitly, as we never know if someone changed it, or if there is any way I can change my own copy of it without messing with other modules.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Dancer article on SDJ</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/2012/04/dancer-article-on-sdj.html" />
    <id>tag:blogs.perl.org,2012:/users/alberto_simoes//250.3033</id>

    <published>2012-04-03T18:02:20Z</published>
    <updated>2012-04-05T13:49:00Z</updated>

    <summary>Some time ago I was invited to write a Perl article to Software Developers Journal. It is (as far as I could gather) a magazine based on Poland. Their website is at http://en.sdjournal.org/. It is a paid magazine, so to...</summary>
    <author>
        <name>Alberto Simões</name>
        <uri>http://ambs.perl-hackers.net/</uri>
    </author>
    
        <category term="Dancer" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Perl" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="articles" label="articles" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="dancer" label="dancer" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="perl" label="perl" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/alberto_simoes/">
        <![CDATA[<p>Some time ago I was invited to write a Perl article to Software Developers Journal. It is (as far as I could gather) a magazine based on Poland. Their website is at <a href="http://en.sdjournal.org/">http://en.sdjournal.org/</a>. It is a paid magazine, so to read it you should buy the magazine.</p>

<p>Although the magazine doesn&#8217;t have good procedures for publication (there isn&#8217;t a review phase where the authors can check if everything is fine) we think (yes, I co-authored the article with <a href="http://search.cpan.org/~smash/">Nuno &#8220;smash&#8221; Carvalho</a>) that the article is interesting. Probably with some English errors written by us, and probably with some others introduces by the editors. And yes, it is not our fault that they write Pearl instead of Perl&#8230; oh shame&#8230;</p>

<p>We are working the permission to post the article in the web. Probably we can in some time. For now, buy the magazine.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Perl Code Sprint 2012</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/2012/03/perl-code-sprint-2012.html" />
    <id>tag:blogs.perl.org,2012:/users/alberto_simoes//250.3012</id>

    <published>2012-03-29T14:53:32Z</published>
    <updated>2012-03-29T14:56:52Z</updated>

    <summary>Sorry for writing this post in Portuguese, but if you are unable to read Portuguese it would be quite difficult to be part of this competition. Also, it was designed for the Portuguese Perl Community (for this year, at least)....</summary>
    <author>
        <name>Alberto Simões</name>
        <uri>http://ambs.perl-hackers.net/</uri>
    </author>
    
        <category term="Perl" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="appp" label="appp" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="competition" label="competition" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="perl" label="perl" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="perlcodesprint" label="perl code sprint" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="perlpt" label="perl.pt" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/alberto_simoes/">
        <![CDATA[<p><img src="http://perl.pt/assets_c/2012/03/perlcodesprint-thumb-150x145-34.png" style="float: right"/>Sorry for writing this post in Portuguese, but if you are unable to read Portuguese it would be quite difficult to be part of this competition. Also, it was designed for the Portuguese Perl Community (for this year, at least).</p>

<p>A <a href="http://perl.pt">APPP</a> está a organizar um concurso de programação Perl. Será um concurso virtual, em que os participantes são convidados a resolver pequenos problemas usando a linguagem Perl. Serão disponibilizados 6 problemas (um por dia, em vários dias de Maio) e serão recebidas soluções usando um sistema de avaliação automática.</p>

<p>O <a href="http://perl.pt/perl-code-sprint.html">regulamento</a> está disponível, e as inscrições terminam a 30 de Abril (inscrição gratuita e aberta a qualquer membro da comunidade Perl em Portugal). Existirão duas tabelas classificativas, para sócios APPP e não sócios, e prémios para os três vencedores (em cada uma das tabelas classificativas).</p>

<p>Contamos com a vossa participação.<br />
</p>]]>
        
    </content>
</entry>

<entry>
    <title>More module versioning pain</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/alberto_simoes/2012/02/more-module-versioning-pain.html" />
    <id>tag:blogs.perl.org,2012:/users/alberto_simoes//250.2761</id>

    <published>2012-02-02T14:10:35Z</published>
    <updated>2012-02-02T14:12:54Z</updated>

    <summary>Yeah, I know, I am always complaining about module versioning. But I think this is something we need to take care when releasing. This time, it seems that Mail::SPF (JMEHNLE/mail-spf/Mail-SPF-v2.8.0.tar.gz) was indexed by CPAN as v2.8.0, but identifies itself as...</summary>
    <author>
        <name>Alberto Simões</name>
        <uri>http://ambs.perl-hackers.net/</uri>
    </author>
    
        <category term="Perl" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Perl Module" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="cpan" label="cpan" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="module" label="module" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="moduleversions" label="module versions" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="perl" label="perl" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/alberto_simoes/">
        <![CDATA[<p>Yeah, I know, I am always complaining about module versioning. But I think this is something we need to take care when releasing. </p>

<p>This time, it seems that Mail::SPF (JMEHNLE/mail-spf/Mail-SPF-v2.8.0.tar.gz) was indexed by CPAN as v2.8.0, but identifies itself as v2.008. Oh, joy!</p>]]>
        
    </content>
</entry>

</feed>
