<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Perl Signals Aggregator</title>
  <link rel="alternate" href="http://desert-island.me.uk:8888/~castaway/perl-signals/" type="text/html"/>
  <updated>2010-07-30T05:12:08+01:00</updated>
  <generator>Plagger/0.7.17</generator>
  <subtitle>Everything Perl from the Web</subtitle>
  <id>tag:desert-island.me.uk,2006:smartfeed:all</id>
  <entry>
    <title>Web Applications Used For Creation Dynamic Sites. | Reliable ...</title>
    <link rel="alternate" href="http://cynthiabarbouronline.com/webhosting/?p=704" type="text/html"/>
    <summary>The first web applications for creation dynamic sites were separate
modules CGI (scripts, created mainly in the language Perl), which were
executed on the server. CGI-scripts are ordinary programs. The result of
module implementation is ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">The first web applications for creation dynamic  sites were separate modules CGI (scripts, created mainly in the language <b>Perl</b>), which were executed on the server. CGI-scripts are ordinary programs. The result of module implementation is ...</div>
    </content>
    <published>2010-07-30T03:48:34Z</published>
    <updated>2010-07-30T03:48:34Z</updated>
    <author>
      <name>domainhostingtech</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:cynthiabarbouronline.com,2010-07-30:/webhosting/?p=704/</id>
  </entry>
  <entry>
    <title>Re: [PATCH] git svn: add an option to recode pathnames -- Git</title>
    <link rel="alternate" href="http://www.spinics.net/lists/git/msg136480.html" type="text/html"/>
    <summary>+ Valid encodings are the ones supported by Perl's Encode module. + Since
the noMetadata, rewriteRoot, rewriteUUID, useSvnsyncProps and useSvmProps
options all affect the metadata generated and used by 'git svn'; they
*must* be set in ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">+ Valid encodings are the ones supported by <b>Perl's</b> Encode module. + Since the noMetadata, rewriteRoot, rewriteUUID, useSvnsyncProps and useSvmProps options all affect the metadata generated and used by 'git svn'; they *must* be set in ...</div>
    </content>
    <published>2010-07-30T02:30:20Z</published>
    <updated>2010-07-30T02:30:20Z</updated>
    <author>
      <name>unknown</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:www.spinics.net,2010-07-30:/lists/git/msg136480.html/</id>
  </entry>
  <entry>
    <title>Rubénerd ツ – Perl 6 Rakudo Star</title>
    <link rel="alternate" href="http://rubenerd.com/perl-6-rakudo-star/" type="text/html"/>
    <summary>My first job out of high school was writing Perl programs. Was the
happiest time of my life, because university hadn't crushed my spirit
yet. Perl is awesome. CPAN is awesome! And don't believe what they say,
it is possible to write ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">My first job out of high school was writing <b>Perl</b> programs. Was the happiest time of my life, because university hadn't crushed my spirit yet. <b>Perl</b> is awesome. CPAN is awesome! And don't believe what they say, it is possible to write ...</div>
    </content>
    <published>2010-07-30T02:15:11Z</published>
    <updated>2010-07-30T02:15:11Z</updated>
    <author>
      <name>Ruben</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:rubenerd.com,2010-07-30:/perl-6-rakudo-star//</id>
  </entry>
  <entry>
    <title>Ubuntu 9.04 [ISPConfig 3] - Step 12: Broken packages: sendmail ...</title>
    <link rel="alternate" href="http://www.howtoforge.com/forums/showthread.php?t=47632" type="text/html"/>
    <summary>... getmail4 libdbd-mysql-perl{a} libdbi-perl{a} libgamin0{a}
libhtml-template-perl{a} libmd5-perl{a} libnet-daemon-perl{a}
libpam-mysql libplrpc-perl{a} libsasl2-modules-sql libsqlite0{a}
libterm-readkey-perl{a} maildrop mysql-client ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">... getmail4 libdbd-mysql-<b>perl</b>{a} libdbi-<b>perl</b>{a} libgamin0{a} libhtml-template-<b>perl</b>{a} libmd5-<b>perl</b>{a} libnet-daemon-<b>perl</b>{a} libpam-mysql libplrpc-<b>perl</b>{a} libsasl2-modules-sql libsqlite0{a} libterm-readkey-<b>perl</b>{a} maildrop mysql-client ...</div>
    </content>
    <published>2010-07-30T02:11:09Z</published>
    <updated>2010-07-30T02:11:09Z</updated>
    <author>
      <name>HorseArcher</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:www.howtoforge.com,2010-07-30:/forums/showthread.php?t=47632/</id>
  </entry>
  <entry>
    <title>Web Hosting Checklist – Never Miss a Thing | Free Host Directory</title>
    <link rel="alternate" href="http://webhosting4free.tk/web-hosting-checklist-never-miss-a-thing/" type="text/html"/>
    <summary>If you do not have Perl, you cannot run Perl Programs. Many good scripts
that you buy or get for free are written in Perl. In my opinion, it would
be a limitation not to have the latest version of Perl installed ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">If you do not have <b>Perl</b>, you cannot run <b>Perl</b> Programs. Many good scripts that you buy or get for free are written in <b>Perl</b>. In my opinion, it would be a limitation not to have the latest version of <b>Perl</b> installed ...</div>
    </content>
    <published>2010-07-29T15:47:26-10:00</published>
    <updated>2010-07-29T15:47:26-10:00</updated>
    <author>
      <name>admin</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:webhosting4free.tk,2010-07-30:/web-hosting-checklist-never-miss-a-thing//</id>
  </entry>
  <entry>
    <title>How can I create a Crypt::RSA object from modulus, exponent, and private exponent?</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3368137/how-can-i-create-a-cryptrsa-object-from-modulus-exponent-and-private-exponent" type="text/html"/>
    <summary>I'm trying to port the following php functionality over to perl:

public function loadKey($mod, $exp, $type = 'public')
{
    $rsa = new Crypt_RSA();
    $rsa-&gt;signatureMode = CRYPT_RSA_SIGNATURE_PKCS1;
    $rsa-&gt;setHash('sha256');
    $rsa-&gt;modulus = new Math_BigInteger(Magicsig::base64_url_decode($mod), 256);
    $rsa-&gt;k = strlen($rsa-&gt;modulus-&gt;toBytes());
    $rsa-&gt;exponent = new Math_BigInteger(Magicsig::base64_url_decode($exp), 256);

    // snip...
}

I need to convert a string in the form ("RSA.$mod.$exp.$private_exp"):

RSA.mVgY8RN6URBTstndvmUUPb4UZTdwvwmddSKE5z_jvKUEK6yk1u3rrC9yN8k6FilGj9K0eeUPe2hf4Pj-5CmHww==.AQAB.Lgy_yL3hsLBngkFdDw1Jy9TmSRMiH6yihYetQ8jy-jZXdsZXd8V5ub3kuBHHk4M39i3TduIkcrjcsiWQb77D8Q==

...to a Crypt::RSA object. I've split out the components so I have $mod,
$exp, and $private_exp, but the perl Crypt::RSA API doesn't seem to have
a way to explicitly set.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I'm trying to port the following php functionality over to perl:</p>

<pre><code>public function loadKey($mod, $exp, $type = 'public')
{
    $rsa = new Crypt_RSA();
    $rsa-&gt;signatureMode = CRYPT_RSA_SIGNATURE_PKCS1;
    $rsa-&gt;setHash('sha256');
    $rsa-&gt;modulus = new Math_BigInteger(Magicsig::base64_url_decode($mod), 256);
    $rsa-&gt;k = strlen($rsa-&gt;modulus-&gt;toBytes());
    $rsa-&gt;exponent = new Math_BigInteger(Magicsig::base64_url_decode($exp), 256);

    // snip...
}
</code></pre>

<p>I need to convert a string in the form ("RSA.$mod.$exp.$private_exp"):</p>

<pre><code>RSA.mVgY8RN6URBTstndvmUUPb4UZTdwvwmddSKE5z_jvKUEK6yk1u3rrC9yN8k6FilGj9K0eeUPe2hf4Pj-5CmHww==.AQAB.Lgy_yL3hsLBngkFdDw1Jy9TmSRMiH6yihYetQ8jy-jZXdsZXd8V5ub3kuBHHk4M39i3TduIkcrjcsiWQb77D8Q==
</code></pre>

<p>...to a Crypt::RSA object. I've split out the components so I have $mod, $exp, and $private_exp, but the perl Crypt::RSA API doesn't seem to have a way to explicitly set.</p>

        </div>
    </content>
    <category term="php perl rsa crypt"/>
    <published>2010-07-30T01:18:57Z</published>
    <updated>2010-07-30T01:18:57Z</updated>
    <author>
      <name>Steve Ivy</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3368137/how-can-i-create-a-cryptrsa-object-from-modulus-exponent-and-private-exponent</id>
  </entry>
  <entry>
    <title>Is The “Blog Battle” Lost To PHP? « Clockwork Zeppelin</title>
    <link rel="alternate" href="http://techblog.geeksqueal.com/2010/07/29/is-the-blog-battle-lost-to-php/" type="text/html"/>
    <summary>I went looking for a list of blog software written in Perl and found
myself looking at Wikipedia. (It like Dennys. No one sets out to go there
but that's where you end up.) Searching for Blog Software, we find a link
to content ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">I went looking for a list of blog software written in <b>Perl</b> and found myself looking at Wikipedia. (It like Dennys. No one sets out to go there but that's where you end up.) Searching for Blog Software, we find a link to content ...</div>
    </content>
    <published>2010-07-30T00:34:46Z</published>
    <updated>2010-07-30T00:34:46Z</updated>
    <author>
      <name>admin</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:techblog.geeksqueal.com,2010-07-30:/2010/07/29/is-the-blog-battle-lost-to-php//</id>
  </entry>
  <entry>
    <title>Wow. [LWN.net]</title>
    <link rel="alternate" href="http://lwn.net/Articles/398043/rss" type="text/html"/>
    <summary>Let's assume that the final Perl 6 release is N times larger than Perl 5,
starts up M times as slowly, and uses P times as much memory after
initialization. What's your best guess as to the values of N, M and P in
the first production ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Let's assume that the final <b>Perl</b> 6 release is N times larger than <b>Perl</b> 5, starts up M times as slowly, and uses P times as much memory after initialization. What's your best guess as to the values of N, M and P in the first production ...</div>
    </content>
    <published>2010-07-30T00:16:53Z</published>
    <updated>2010-07-30T00:16:53Z</updated>
    <author>
      <name>dskoll</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:lwn.net,2010-07-30:/Articles/398043/rss/</id>
  </entry>
  <entry>
    <title>devel/p5-Test-Script-Run - pkgsrc.se | The NetBSD package collection</title>
    <link rel="alternate" href="http://pkgsrc.se/devel/p5-Test-Script-Run" type="text/html"/>
    <summary>Log message: Initial import of p5-Test-Script-Run version 0.04 in the
NetBSD Packages Collection. The Perl 5 module Test::Script::Run exports
some subs to help test and run scripts in your dist's bin/ directory. ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Log message: Initial import of p5-Test-Script-Run version 0.04 in the NetBSD Packages Collection. The <b>Perl</b> 5 module Test::Script::Run exports some subs to help test and run scripts in your dist's  bin/ directory. ...</div>
    </content>
    <published>2010-07-30T02:10:58+02:00</published>
    <updated>2010-07-30T02:10:58+02:00</updated>
    <author>
      <name>pkgsrc-users@NetBSD.org</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:pkgsrc.se,2010-07-30:/devel/p5-Test-Script-Run/</id>
  </entry>
  <entry>
    <title>www/p5-WWW-Mechanize-GZip - pkgsrc.se | The NetBSD package collection</title>
    <link rel="alternate" href="http://pkgsrc.se/www/p5-WWW-Mechanize-GZip" type="text/html"/>
    <summary>The Perl 5 module WWW::Mechanize::GZip tries to fetch a URL by requesting
gzip-compression from the webserver. If the response contains a header
with 'Content-Encoding: gzip', it decompresses the response in order to
get the original ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">The <b>Perl</b> 5 module WWW::Mechanize::GZip  tries to fetch a URL by requesting gzip-compression from the webserver. If the response contains a header with 'Content-Encoding: gzip',  it decompresses the response in order to get the original ...</div>
    </content>
    <published>2010-07-30T02:06:08+02:00</published>
    <updated>2010-07-30T02:06:08+02:00</updated>
    <author>
      <name>pkgsrc-users@NetBSD.org</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:pkgsrc.se,2010-07-30:/www/p5-WWW-Mechanize-GZip/</id>
  </entry>
  <entry>
    <title>#ecademyschool Social Media - Those first few steps [Mark Perl ...</title>
    <link rel="alternate" href="http://www.globalmoneyportal.com/ecademyschool-social-media-those-first-few-steps-mark-perl-a52088.html" type="text/html"/>
    <summary>ecademyschool Social Media - Those first few steps [Mark Perl] -
international banking and finance news analysis. Compare international
banking solutions. Practical information and analysis... #ecademyschool
Social Media - Those first ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">ecademyschool Social Media - Those first few steps [Mark <b>Perl</b>] - international banking and finance news analysis. Compare international banking solutions. Practical information and analysis... #ecademyschool Social Media - Those first ...</div>
    </content>
    <published>2010-07-30T00:00:00Z</published>
    <updated>2010-07-30T00:00:00Z</updated>
    <author>
      <name>unknown</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:www.globalmoneyportal.com,2010-07-30:/ecademyschool-social-media-those-first-few-steps-mark-perl-a52088.html/</id>
  </entry>
  <entry>
    <title>Network Programming with Perl By Lincoln D. Stein » Rapidshare ...</title>
    <link rel="alternate" href="http://rapidsharegarden.org/84416-network-programming-with-perl-by-lincoln-d-stein.html" type="text/html"/>
    <summary>Network Programming with Perl By Lincoln D. Stein Publisher:
Addison-Wesley Professional 2001 | 784 Pages | ISBN: 0201615711 | CHM |
10 MB Network programming--the term had a distinct meani.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Network Programming with <b>Perl</b> By Lincoln D. Stein Publisher: Addison-Wesley Professional 2001 | 784 Pages | ISBN: 0201615711 | CHM | 10 MB Network programming--the term had a distinct meani.</div>
    </content>
    <published>2010-07-29T23:43:02Z</published>
    <updated>2010-07-29T23:43:02Z</updated>
    <author>
      <name>lizzinger1234</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:rapidsharegarden.org,2010-07-29:/84416-network-programming-with-perl-by-lincoln-d-stein.html/</id>
  </entry>
  <entry>
    <title>Perl 6 Releases | MidSofts.COM</title>
    <link rel="alternate" href="http://midsofts.com/archives/perl-6-releases.html" type="text/html"/>
    <summary>Announce: Rakudo Star - a useful, usable, "early adopter" distribution of
Perl 6 On behalf of the Rakudo and Perl 6 development teams, I'm happy
to.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Announce: Rakudo Star - a useful, usable, "early adopter" distribution of <b>Perl</b> 6 On behalf of the Rakudo and <b>Perl</b> 6 development teams, I'm happy to.</div>
    </content>
    <published>2010-07-29T23:19:16Z</published>
    <updated>2010-07-29T23:19:16Z</updated>
    <author>
      <name>King</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:midsofts.com,2010-07-29:/archives/perl-6-releases.html/</id>
  </entry>
  <entry>
    <title>ActiveState supports next version of SOAP technology: Developers ...</title>
    <link rel="alternate" href="http://www.suppliessoap.com/computers-and-technology/activestate-supports-next-version-of-soap-technology-developers-to-leverage-this-next-generation-in-web-programming-in-perlex-2-0/" type="text/html"/>
    <summary>ActiveState believes in the open source and Perl communities.” Features
of SOAP: ยท Open standard. Companies are free to choose platforms that
are, soap making, best suited to solving their problems regardless of the
technology to ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">ActiveState believes in the open source and <b>Perl</b> communities.” Features of SOAP: ยท Open standard. Companies are free to choose platforms that are, soap making, best suited to solving their problems regardless of the technology to ...</div>
    </content>
    <published>2010-07-29T22:32:11Z</published>
    <updated>2010-07-29T22:32:11Z</updated>
    <author>
      <name>admin</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:www.suppliessoap.com,2010-07-29:/computers-and-technology/activestate-supports-next-version-of-soap-technology-developers-to-leverage-this-next-generation-in-web-programming-in-perlex-2-0//</id>
  </entry>
  <entry>
    <title>perl how to regex parts of data instead of entire string and then print out a csv file</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3367497/perl-how-to-regex-parts-of-data-instead-of-entire-string-and-then-print-out-a-csv" type="text/html"/>
    <summary>I have a working perl script that grabs the data I need and displays them
to STDOUT, but now I need to change it to generate a data file (csv, tab
dellimited, any delimiter file). The regular expression is filtering the
data that I need, but I don't want the entire string, just snippets of
the output. I'm assuming I would need to store this in another variable
to create my output file.

I need a good example of this or suggestions to alter this code. Thank
you in advance. :-)

Here's my code:

#!/usr/bin/perl -w
# Usage: ./bakstatinfo.pl Jul 28 2010 /var/log/mybackup.log &lt;server1&gt; &lt;server2&gt;

use strict;
use warnings;

#This piece added to view the arguments passed in
$" = "][";
print "===================================================================================\n";
print "[@ARGV]\n";

#Declare Variables
my($mon,$day,$year,$file,$server) = @ARGV;
my $regex_flag = 0;                 

splice(@ARGV, 0, 4, ());            

foreach my $server ( @ARGV ) {      #foreach will take Xn of server entries and add to the loop
    print "===================================================================================\n";
    print "REPORTING SUMMARY for SERVER : $server\n";
    open(my $fh,"ssh $server cat $file |") or die "can't open log $server:$file: $!\n";
    while (my $line = &lt;$fh&gt;) {
        if ($line =~ m/.* $mon $day \d{2}:\d{2}:\d{2} $year:.*(ERROR:|backup-date=|backup-size=|backup-time=|backup-status)/) {
            print $line;
            $regex_flag=1; #Set to true
        }
    }
        if ($regex_flag==0) { 
           print "NOTHING TO REPORT FOR $server: $mon $day $year \n";
        }
    $regex_flag=0; 
    close($fh);
}

My working output now:

===================================================================================
[Jul][28][2010][/var/log/mybackup.log][server1]
===================================================================================
REPORTING SUMMARY for SERVER : server1
Wed Jul 28 00:49:54 2010: test203.bak_lvm:backup:INFO: backup-size=417.32 GB
Wed Jul 28 00:49:54 2010: test203.bak_lvm:backup:INFO: backup-time=04:49:51
Wed Jul 28 00:49:54 2010: test203.bak_lvm:backup:INFO: backup-status=Backup succeeded

The output I need to see would be something like this:(data file with
separated by ';' for example)

MyDate=Wed Jul 28;MyBackupSet= test203.bak_lvm;MyBackupSize=187.24 GB;MyBackupTime=04:49:51;MyBackupStat=Backup succeeded</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I have a working perl script that grabs the data I need and displays them to STDOUT, but now I need to change it to <strong>generate a data file (csv, tab dellimited, any delimiter file)</strong>. 
The regular expression is filtering the data that I need, but I don't want the entire string, just snippets of the output. I'm assuming I would need to store this in another variable to create my output file.</p>

<p>I need a good example of this or suggestions to alter this code. Thank you in advance. :-)</p>

<p>Here's my code:</p>

<pre><code>#!/usr/bin/perl -w
# Usage: ./bakstatinfo.pl Jul 28 2010 /var/log/mybackup.log &lt;server1&gt; &lt;server2&gt;

use strict;
use warnings;

#This piece added to view the arguments passed in
$" = "][";
print "===================================================================================\n";
print "[@ARGV]\n";

#Declare Variables
my($mon,$day,$year,$file,$server) = @ARGV;
my $regex_flag = 0;                 

splice(@ARGV, 0, 4, ());            

foreach my $server ( @ARGV ) {      #foreach will take Xn of server entries and add to the loop
    print "===================================================================================\n";
    print "REPORTING SUMMARY for SERVER : $server\n";
    open(my $fh,"ssh $server cat $file |") or die "can't open log $server:$file: $!\n";
    while (my $line = &lt;$fh&gt;) {
        if ($line =~ m/.* $mon $day \d{2}:\d{2}:\d{2} $year:.*(ERROR:|backup-date=|backup-size=|backup-time=|backup-status)/) {
            print $line;
            $regex_flag=1; #Set to true
        }
    }
        if ($regex_flag==0) { 
           print "NOTHING TO REPORT FOR $server: $mon $day $year \n";
        }
    $regex_flag=0; 
    close($fh);
}
</code></pre>

<p>My working output now:</p>

<pre><code>===================================================================================
[Jul][28][2010][/var/log/mybackup.log][server1]
===================================================================================
REPORTING SUMMARY for SERVER : server1
Wed Jul 28 00:49:54 2010: test203.bak_lvm:backup:INFO: backup-size=417.32 GB
Wed Jul 28 00:49:54 2010: test203.bak_lvm:backup:INFO: backup-time=04:49:51
Wed Jul 28 00:49:54 2010: test203.bak_lvm:backup:INFO: backup-status=Backup succeeded
</code></pre>

<p>The output <strong>I need to see</strong> would be something like this:(data file with separated by ';' for example)</p>

<pre><code>MyDate=Wed Jul 28;MyBackupSet= test203.bak_lvm;MyBackupSize=187.24 GB;MyBackupTime=04:49:51;MyBackupStat=Backup succeeded
</code></pre>

        </div>
    </content>
    <category term="regex perl csv"/>
    <published>2010-07-29T22:31:45Z</published>
    <updated>2010-07-29T22:31:45Z</updated>
    <author>
      <name>jaedre619</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3367497/perl-how-to-regex-parts-of-data-instead-of-entire-string-and-then-print-out-a-csv</id>
  </entry>
  <entry>
    <title>Learning Perl - Which version?</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3367226/learning-perl-which-version" type="text/html"/>
    <summary>I've been thinking about learning Perl. Should I learn Perl5 or start
with Perl6?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I've been thinking about learning Perl. Should I learn Perl5 or start with Perl6?</p>

        </div>
    </content>
    <category term="perl perl6"/>
    <published>2010-07-29T21:48:21Z</published>
    <updated>2010-07-29T21:48:21Z</updated>
    <author>
      <name>Vitor Py</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3367226/learning-perl-which-version</id>
  </entry>
  <entry>
    <title>Calling 'scalar' on the results of the range operator (..) in Perl</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3367182/calling-scalar-on-the-results-of-the-range-operator-in-perl" type="text/html"/>
    <summary>So, I believe this has something to do with the difference between arrays
and lists, but I don't understand what's going on here. Can anyone
explain how and why Perl treats an expression like (1..4) differently
than (1, 2, 3, 4) and @{[1..4]}?

$ perl -de1

Loading DB routines from perl5db.pl version 1.31
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

main::(-e:1): 1
  DB&lt;1&gt; x scalar (1,2,3,4)
0  4
  DB&lt;2&gt; x scalar (1..2,3,4)
0  4
  DB&lt;3&gt; x scalar (1,2..3,4)
0  4
  DB&lt;4&gt; x scalar (1,2,3..4)
0  ''
  DB&lt;5&gt; sub foo { (1..4) } # (the actual problem case, except 4 would be a variable)
  DB&lt;6&gt; x scalar foo()
0  ''
  DB&lt;7&gt; sub bar { @{[1..4]} } # (the workaround)
  DB&lt;8&gt; x scalar bar()
0  4</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>So, I believe this has something to do with the difference between arrays and lists, but I don't <em>understand</em> what's going on here. Can anyone explain how and why Perl treats an expression like <code>(1..4)</code> differently than <code>(1, 2, 3, 4)</code> and <code>@{[1..4]}</code>?</p>

<pre><code>$ perl -de1

Loading DB routines from perl5db.pl version 1.31
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

main::(-e:1): 1
  DB&lt;1&gt; x scalar (1,2,3,4)
0  4
  DB&lt;2&gt; x scalar (1..2,3,4)
0  4
  DB&lt;3&gt; x scalar (1,2..3,4)
0  4
  DB&lt;4&gt; x scalar (1,2,3..4)
0  ''
  DB&lt;5&gt; sub foo { (1..4) } # (the actual problem case, except 4 would be a variable)
  DB&lt;6&gt; x scalar foo()
0  ''
  DB&lt;7&gt; sub bar { @{[1..4]} } # (the workaround)
  DB&lt;8&gt; x scalar bar()
0  4
</code></pre>

        </div>
    </content>
    <category term="perl scalar ranges flip-flop"/>
    <published>2010-07-29T21:42:36Z</published>
    <updated>2010-07-29T21:42:36Z</updated>
    <author>
      <name>fennec</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3367182/calling-scalar-on-the-results-of-the-range-operator-in-perl</id>
  </entry>
  <entry>
    <title>Free Readings Online » Blog Archive » Perl 6, Early, With Rakudo Star</title>
    <link rel="alternate" href="http://freereadingsonline.com/2010/07/29/perl-6-early-with-rakudo-star/" type="text/html"/>
    <summary>Perl 6 may have been "finally coming within reach" in 2004, but now it's
even closer. Reader rnddim writes "The Perl 6 implementation Rakudo Star
has been released today for 'early adopters.' This release of Rakudo is
different from the ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><b>Perl</b> 6 may have been "finally coming within reach" in 2004, but now it's even closer. Reader rnddim writes "The <b>Perl</b> 6 implementation Rakudo Star has been released today for 'early adopters.'  This release of Rakudo is different from the ...</div>
    </content>
    <published>2010-07-29T21:22:00Z</published>
    <updated>2010-07-29T21:22:00Z</updated>
    <author>
      <name>slashman</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:freereadingsonline.com,2010-07-29:/2010/07/29/perl-6-early-with-rakudo-star//</id>
  </entry>
  <entry>
    <title>[PATCH/RFC] tests: WIP Infrastructure for Git smoke testing -- Git</title>
    <link rel="alternate" href="http://www.spinics.net/lists/git/msg136463.html" type="text/html"/>
    <summary>Currently I just hardcode e.g. "perl" and "architecture=amd64". Maybe
this needs to be a top-level target instead? - Set up the smoke
aggregator. I was running into some issues with smolder, but those are
solvable given some time. ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Currently I just hardcode e.g. "<b>perl</b>" and "architecture=amd64". Maybe this needs to be a top-level target instead? - Set up the smoke aggregator. I was running into some issues with smolder, but those are solvable given some time. ...</div>
    </content>
    <published>2010-07-29T21:21:22Z</published>
    <updated>2010-07-29T21:21:22Z</updated>
    <author>
      <name>unknown</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:www.spinics.net,2010-07-29:/lists/git/msg136463.html/</id>
  </entry>
  <entry>
    <title>PATCH/RFC - tests: WIP Infrastructure for Git smoke testing</title>
    <link rel="alternate" href="http://www.listware.net/201007/linux-git/114257-patchrfc-tests-wip-infrastructure-for-git-smoke-testing.html" type="text/html"/>
    <summary>Currently I just hardcode e.g. "perl" and "architecture=ad64". Maybe this
needs to be a top-level target instead? - Set up the smoke aggregator. I
was running into some issues with smolder, but those are solvable given
some time. ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Currently I just hardcode e.g. "<b>perl</b>" and "architecture=ad64". Maybe this needs to be a top-level target instead? - Set up the smoke aggregator. I was running into some issues with smolder, but those are solvable given some time. ...</div>
    </content>
    <published>2010-07-29T21:20:55Z</published>
    <updated>2010-07-29T21:20:55Z</updated>
    <author>
      <name>Ævar Arnfjörð Bjarmason</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:www.listware.net,2010-07-29:/201007/linux-git/114257-patchrfc-tests-wip-infrastructure-for-git-smoke-testing.html/</id>
  </entry>
  <entry>
    <title>Htbaa blogs? - My first Perl 6 code</title>
    <link rel="alternate" href="http://blog.htbaa.com/programming/my-first-perl-6-code" type="text/html"/>
    <summary>I immediately installed it on my laptop after I had fetched the installer
and started up Rakudo REPL, an interactive Perl 6 shell. After a quick
peek in the Using Perl 6 PDF I tried the following code. &gt; say "test";
...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">I immediately installed it on my laptop after I had  fetched the installer and started up Rakudo REPL, an interactive <b>Perl</b> 6 shell. After a quick peek in the Using <b>Perl</b> 6 PDF I tried the following code. &gt; say "test"; ...</div>
    </content>
    <published>2010-07-29T21:18:42Z</published>
    <updated>2010-07-29T21:18:42Z</updated>
    <author>
      <name>Htbaa</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:blog.htbaa.com,2010-07-29:/programming/my-first-perl-6-code/</id>
  </entry>
  <entry>
    <title>How About a Shetland Ponie? - Modern Perl Books, a Modern Perl Blog</title>
    <link rel="alternate" href="http://www.modernperlbooks.com/mt/2010/07/how-about-a-shetland-ponie.html" type="text/html"/>
    <summary>Rakudo Star is out, and so begins the next great wave of interest and use
of Perl 6. The next several releases will improve performance, fix bugs,
add features, port or create more libraries, and—in all
likelihood—improve and otherwise ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Rakudo Star is out, and so begins the next great wave of interest and use of <b>Perl</b> 6. The next several releases will improve performance, fix bugs, add features, port or create more libraries, and—in all likelihood—improve and otherwise ...</div>
    </content>
    <published>2010-07-29T20:47:15Z</published>
    <updated>2010-07-29T20:47:15Z</updated>
    <author>
      <name>chromatic</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:www.modernperlbooks.com,2010-07-29:/mt/2010/07/how-about-a-shetland-ponie.html/</id>
  </entry>
  <entry>
    <title>Perl script for updating linux | Projects for Freelancers</title>
    <link rel="alternate" href="http://bidscc.com/2010/07/29/perl-script-for-updating-linux" type="text/html"/>
    <summary>Please, post bids for new project: Perl script for updating linux.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Please, post bids for new project: <b>Perl</b> script for updating linux.</div>
    </content>
    <published>2010-07-29T20:19:37Z</published>
    <updated>2010-07-29T20:19:37Z</updated>
    <author>
      <name>vWorker.com: Newest projects feed</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:bidscc.com,2010-07-29:/2010/07/29/perl-script-for-updating-linux/</id>
  </entry>
  <entry>
    <title>Splitting a string with multiple white spaces with perl?</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3366533/splitting-a-string-with-multiple-white-spaces-with-perl" type="text/html"/>
    <summary>I am trying to split a string with multiple white spaces. I only want to
split where there are 2 or more white spaces. I have tried multiple
things and I keep getting the same output which is that it splits after
every letter. Here is the last thing I tried

@cellMessage = split(s/ {2,}//g, $message);
                foreach(@cellMessage){
                    print "$_ \n";
                }</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I am trying to split a string with multiple white spaces. I only want to split where there are 2 or more white spaces. I have tried multiple things and I keep getting the same output which is that it splits after every letter. Here is the last thing I tried</p>

<pre><code>@cellMessage = split(s/ {2,}//g, $message);
                foreach(@cellMessage){
                    print "$_ \n";
                }
</code></pre>

        </div>
    </content>
    <category term="regex perl split"/>
    <published>2010-07-29T20:09:28Z</published>
    <updated>2010-07-29T20:09:28Z</updated>
    <author>
      <name>shinjuo</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3366533/splitting-a-string-with-multiple-white-spaces-with-perl</id>
  </entry>
  <entry>
    <title>Accessing the Catalyst object $c from MyApp.pm</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3366393/accessing-the-catalyst-object-c-from-myapp-pm" type="text/html"/>
    <summary>I'm using the Assets plugin in my Catalyst app, and I would like some
javascript and css files included in the assets of every page.

My first thought is call $c-&gt;assets-&gt;include('file.js') from
MyApp/lib/MyApp.pm where I do setup and config, but I don't know how to
get a hold of $c there.

My next idea involves using the WRAPPER stuff, and placing calls like [%
c.assets.include('file.js') %] in default html template, but the calls
dump the object information to the page, so the calls would have to be
uglied up to suppress output.

Solutions or new ideas appreciated. Thanks in advance.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I'm using the Assets plugin in my Catalyst app, and I would like some javascript and css files included in the assets of every page.  </p>

<p>My first thought is call $c-&gt;assets-&gt;include('file.js') from MyApp/lib/MyApp.pm where I do setup and config, but I don't know how to get a hold of $c there.  </p>

<p>My next idea involves using the WRAPPER stuff, and placing calls like [% c.assets.include('file.js') %] in default html template, but the calls dump the object information to the page, so the calls would have to be uglied up to suppress output.</p>

<p>Solutions or new ideas appreciated.  Thanks in advance.</p>

        </div>
    </content>
    <category term="perl catalyst assets"/>
    <published>2010-07-29T19:50:52Z</published>
    <updated>2010-07-29T19:50:52Z</updated>
    <author>
      <name>Felix</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3366393/accessing-the-catalyst-object-c-from-myapp-pm</id>
  </entry>
  <entry>
    <title>Communication Network Rapidshare Free Full Downloads with Hotfile ...</title>
    <link rel="alternate" href="http://worldsdown.net/6d4n/communication+network.html" type="text/html"/>
    <summary>That's why Lincoln Stein's Network Programming with Perl is valuable. It
shows how one of the world's top Perl authorities brings the language to
bear on problems that require communication among computers, showing that
you may not have ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">That's why Lincoln Stein's Network Programming with <b>Perl</b> is valuable. It shows how one of the world's top <b>Perl</b> authorities brings the language to bear on problems that require communication among computers, showing that you may not have ...</div>
    </content>
    <published>2010-07-29T18:14:22Z</published>
    <updated>2010-07-29T18:14:22Z</updated>
    <author>
      <name>unknown</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:worldsdown.net,2010-07-29:/6d4n/communication+network.html/</id>
  </entry>
  <entry>
    <title>decode a string into different variables using PERL one liner</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3365693/decode-a-string-into-different-variables-using-perl-one-liner" type="text/html"/>
    <summary>Hi,

I've the following strings which I would like to decode into different
variables depending on the string

examples

{"response":{"report":"fail","brand":"1.0","fail":{"message":"Invalid Number"}}}

{"response":{"report" : "pass", "brand" : "1.0", "payment" :{"paymentId":"4CA008DAAA41EC19C754EF"}}}

{"response":{"report":"fail","brand":"1.0","fail":{"message":"internal server problems."}}}

{"response" : {"report" : "pass", "brand" : "1.0", "email" :{"subject":"Notification","to":"TEST@TEST.COM"}}}

I want to get one liner command or multiple command to fetch values into
different variables.

Results

Variable 1 = fail  variable 2 = 1.0 variable 3 = Invalid Number

Variable 1 = pass  variable 2 = 1.0 variable 3 = 4CA008DAAA41EC19C754EF

Variable 1 = fail  variable 2 = 1.0  variable 3 = internal server problems.

variabl 1 = pass variable 2 = 1.0 variable 3 = Notification variable 4 = TEST@TEST.COM  ( since there are 2 values in the inner most {} )</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Hi,</p>

<p>I've the following strings which I would like to decode into different variables depending on the string </p>

<p>examples</p>

<pre><code>{"response":{"report":"fail","brand":"1.0","fail":{"message":"Invalid Number"}}}

{"response":{"report" : "pass", "brand" : "1.0", "payment" :{"paymentId":"4CA008DAAA41EC19C754EF"}}}

{"response":{"report":"fail","brand":"1.0","fail":{"message":"internal server problems."}}}

{"response" : {"report" : "pass", "brand" : "1.0", "email" :{"subject":"Notification","to":"TEST@TEST.COM"}}}
</code></pre>

<p>I want to get one liner command or multiple command to fetch values into different variables.</p>

<p>Results</p>

<pre><code>Variable 1 = fail  variable 2 = 1.0 variable 3 = Invalid Number

Variable 1 = pass  variable 2 = 1.0 variable 3 = 4CA008DAAA41EC19C754EF

Variable 1 = fail  variable 2 = 1.0  variable 3 = internal server problems.

variabl 1 = pass variable 2 = 1.0 variable 3 = Notification variable 4 = TEST@TEST.COM  ( since there are 2 values in the inner most {} )
</code></pre>

        </div>
    </content>
    <category term="perl"/>
    <published>2010-07-29T18:12:44Z</published>
    <updated>2010-07-29T18:12:44Z</updated>
    <author>
      <name>Rudorathod</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3365693/decode-a-string-into-different-variables-using-perl-one-liner</id>
  </entry>
  <entry>
    <title>Excess Rapidshare Free Full Downloads with Hotfile and MegaUpload ...</title>
    <link rel="alternate" href="http://worldsdown.net/d4ea/excess.html" type="text/html"/>
    <summary>UltraEdit is a powerful disk-basked text editor, programmer's editor, and
hex editor that is used to edit HTML, PHP, javascript, Perl, C/C++, and a
multitude of other coding/programming languages. UltraEdit can handle and
edit files in ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">UltraEdit is a powerful disk-basked text editor, programmer's editor, and hex editor that is used to edit HTML, PHP, javascript, <b>Perl</b>, C/C++, and a multitude of other coding/programming languages. UltraEdit can handle and edit files in ...</div>
    </content>
    <published>2010-07-29T18:04:31Z</published>
    <updated>2010-07-29T18:04:31Z</updated>
    <author>
      <name>unknown</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:worldsdown.net,2010-07-29:/d4ea/excess.html/</id>
  </entry>
  <entry>
    <title>Perl 5 Essential Training | Revskill's Blog</title>
    <link rel="alternate" href="http://www.gigatraining.net/elearning/perl-5-essential-training.html" type="text/html"/>
    <summary>In Perl 5 Essential Training, author Bill Weinman explains the
fundamentals of programming in Perl, a flexible and powerful programming
language that s well suited for projects as varied as simple scripts to
complex web applications. ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">In <b>Perl</b> 5 Essential Training, author Bill Weinman explains the fundamentals of programming in <b>Perl</b>, a flexible and powerful  programming language that s well suited for projects as varied as simple scripts to complex web applications. ...</div>
    </content>
    <published>2010-07-29T18:02:18Z</published>
    <updated>2010-07-29T18:02:18Z</updated>
    <author>
      <name>revskill</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:www.gigatraining.net,2010-07-29:/elearning/perl-5-essential-training.html/</id>
  </entry>
  <entry>
    <title>Should I choose ActivePerl or Strawberry Perl for Windows?</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3365518/should-i-choose-activeperl-or-strawberry-perl-for-windows" type="text/html"/>
    <summary>I'm totally new to Perl but I'd like to try it out. I read about two
rival distributions available for Windows platform (I guess there's just
Perl on other OSes :).

Wikipedia says that Strawberry comes with additional dev tools to compile
CPAN modules if necessary. Sounds pretty good to me.

It also says that ActivePerl has a lot of prepackaged modules which are
easier to install with PPM. Sounds great too!

There's a clear trade-off between those two. And I wonder what should I
pick to get started? If I pick one how hard is it to migrate to the
other?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I'm totally new to Perl but I'd like to try it out. I read about two rival distributions available for Windows platform (I guess there's <em>just</em> Perl on other OSes :). </p>

<p><a href="http://en.wikipedia.org/wiki/Perl" rel="nofollow">Wikipedia</a> says that Strawberry comes with additional dev tools to compile CPAN modules if necessary. Sounds pretty good to me.</p>

<p>It also says that ActivePerl has a lot of prepackaged modules which are easier to install with PPM. Sounds great too!</p>

<p>There's a clear trade-off between those two. And I wonder what should I pick to get started? If I pick one how hard is it to migrate to the other?</p>

        </div>
    </content>
    <category term="windows perl getting-started activeperl strawberry-perl"/>
    <published>2010-07-29T17:53:21Z</published>
    <updated>2010-07-29T17:53:21Z</updated>
    <author>
      <name>Andrew</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3365518/should-i-choose-activeperl-or-strawberry-perl-for-windows</id>
  </entry>
  <entry>
    <title>Matching lines across multiple csv files and merging a particular field</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3365378/matching-lines-across-multiple-csv-files-and-merging-a-particular-field" type="text/html"/>
    <summary>I have about 20 CSV's that all look like this:

"[email]","[fname]","[lname]","[prefix]","[suffix]","[fax]","[phone]","[business]","[address1]","[address2]","[city]","[state]","[zip]","[setdate]","[email_type]","[start_code]"

What I've been told I need to produce is the exact same thing, but with
each file now containing the start_code from every other file where the
email matches.

It doesn't matter if any of the other fields don't match, just the email
field is important, and the only change to each file would be to add any
other start_code values from other files where the email matches.

For example, if the same email appeared in the wicq.csv, oota.csv, and
itos.csv it would go from being the following in each file:

"anon@yahoo.com","anon",,,,,,,,,,,,01/16/08 08:05 PM,,"WIQC PDX"
"anon@yahoo.com","anon",,,,,,,,,,,,01/16/08 08:05 PM,,"OOTA"
"anon@yahoo.com","anon",,,,,,,,,,,,01/16/08 08:05 PM,,"ITOS"

to

"anon@yahoo.com","anon",,,,,,,,,,,,01/16/08 08:05 PM,,"WIQC PDX, OOTA, ITOS"

for all three files (wicq.csv, oota.csv, and itos.csv)

Tools I have available would be OS X command line (awk, sed, etc) as well
as perl-though I'm not too familiar with either, and there may be a
better way to do this.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I have about 20 CSV's that all look like this:</p>

<pre><code>"[email]","[fname]","[lname]","[prefix]","[suffix]","[fax]","[phone]","[business]","[address1]","[address2]","[city]","[state]","[zip]","[setdate]","[email_type]","[start_code]"
</code></pre>

<p>What I've been told I need to produce is the exact same thing, but with each file now containing the start_code from every other file where the email matches. </p>

<p>It doesn't matter if any of the other fields don't match, just the email field is important, and the only change to each file would be to add any other start_code values from other files where the email matches.</p>

<p>For example, if the same email appeared in the wicq.csv, oota.csv, and itos.csv it would go from being the following in each file:</p>

<pre><code>"anon@yahoo.com","anon",,,,,,,,,,,,01/16/08 08:05 PM,,"WIQC PDX"
"anon@yahoo.com","anon",,,,,,,,,,,,01/16/08 08:05 PM,,"OOTA"
"anon@yahoo.com","anon",,,,,,,,,,,,01/16/08 08:05 PM,,"ITOS"
</code></pre>

<p>to</p>

<pre><code>"anon@yahoo.com","anon",,,,,,,,,,,,01/16/08 08:05 PM,,"WIQC PDX, OOTA, ITOS"
</code></pre>

<p>for all three files (wicq.csv, oota.csv, and itos.csv)</p>

<p>Tools I have available would be OS X command line (awk, sed, etc) as well as perl-though I'm not too familiar with either, and there may be a better way to do this.</p>

        </div>
    </content>
    <category term="perl bash scripting csv"/>
    <published>2010-07-29T17:30:24Z</published>
    <updated>2010-07-29T17:30:24Z</updated>
    <author>
      <name>alex</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3365378/matching-lines-across-multiple-csv-files-and-merging-a-particular-field</id>
  </entry>
  <entry>
    <title>Parameterized Roles and Method Traits - Vox</title>
    <link rel="alternate" href="http://jjnapiorkowski.vox.com/library/post/parameterized-roles-and-method-traits.html?_c=feed-atom" type="text/html"/>
    <summary>Additionally this looks much more like what a modern programmer expects
to see when creating classes, which should make it easier for people
coming from other languages to get excited about modern Perl. The only
(current) downsides are ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Additionally this looks much more like what a modern programmer expects to see when creating classes, which should make it easier for people coming from other languages to get excited about modern <b>Perl</b>. The only (current) downsides are ...</div>
    </content>
    <published>2010-07-29T17:27:32Z</published>
    <updated>2010-07-29T17:27:32Z</updated>
    <author>
      <name>John Napiorkowski</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:jjnapiorkowski.vox.com,2010-07-29:/library/post/parameterized-roles-and-method-traits.html?_c=feed-atom/</id>
  </entry>
  <entry>
    <title>match and replace multiple newlines with a SED or PERL one-liner </title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3365260/match-and-replace-multiple-newlines-with-a-sed-or-perl-one-liner" type="text/html"/>
    <summary>I have an input C file (myfile.c) that looks like this :

void func_foo();
void func_bar();

//supercrazytag

I want to use a shell command to insert new function prototypes, such
that the output becomes:

void func_foo();
void func_bar();
void func_new();

//supercrazytag

So far I've been unsuccessful using SED or PERL. What didn't work:

sed 's|\n\n//supercrazytag|void func_new();\n\n//supercrazytag|g' &lt; myfile.c
sed 's|(\n\n//supercrazytag)|void func_new();\1|g' &lt; myfile.c

Using the same patterns with perl -pe "....." didn't work either.

What am I missing ? I've tried many different approaches, including this
and this and that.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I have an input C file (myfile.c) that looks like this :</p>

<pre><code>void func_foo();
void func_bar();

//supercrazytag
</code></pre>

<p>I want to use a shell command to insert new function prototypes, such that the output becomes:</p>

<pre><code>void func_foo();
void func_bar();
void func_new();

//supercrazytag
</code></pre>

<p>So far I've been unsuccessful using SED or PERL.
What didn't work:</p>

<pre><code>sed 's|\n\n//supercrazytag|void func_new();\n\n//supercrazytag|g' &lt; myfile.c
sed 's|(\n\n//supercrazytag)|void func_new();\1|g' &lt; myfile.c
</code></pre>

<p>Using the same patterns with perl -pe "....." didn't work either.</p>

<p>What am I missing ? I've tried many different approaches, including <a href="http://stackoverflow.com/questions/1164925/match-any-character-including-newlines-in-sed">this</a> and <a href="http://stackoverflow.com/questions/1251999/sed-how-can-i-replace-a-newline-n/1252191#1252191">this</a> and <a href="http://stackoverflow.com/questions/1577057/sed-find-pattern-over-two-lines-not-replace-after-that-pattern">that</a>.</p>

        </div>
    </content>
    <category term="perl sed newline search-and-replace multiline"/>
    <published>2010-07-29T17:16:52Z</published>
    <updated>2010-07-29T17:16:52Z</updated>
    <author>
      <name>fo.Obar</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3365260/match-and-replace-multiple-newlines-with-a-sed-or-perl-one-liner</id>
  </entry>
  <entry>
    <title>Project Euler: Problem 5 | ScrollingText</title>
    <link rel="alternate" href="http://scrollingtext.org/project-euler-problem-5" type="text/html"/>
    <summary>My solution for Project Euler's fifth question. Solutions come in
Haskell, Python, and Perl flavors. ... Project Euler: Problem 5.
Submitted by Bryce on Thu, 07/29/2010 - 10:06. Haskell · PERL · Project
Euler · Python ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">My solution for Project Euler's fifth question. Solutions come in Haskell, Python, and <b>Perl</b> flavors. ... Project Euler: Problem 5. Submitted by Bryce on Thu, 07/29/2010 - 10:06. Haskell · <b>PERL</b> · Project Euler · Python ...</div>
    </content>
    <published>2010-07-29T17:06:50Z</published>
    <updated>2010-07-29T17:06:50Z</updated>
    <author>
      <name>Bryce</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:scrollingtext.org,2010-07-29:/project-euler-problem-5/</id>
  </entry>
  <entry>
    <title>How to write from n-th row to a file using perl</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3365053/how-to-write-from-n-th-row-to-a-file-using-perl" type="text/html"/>
    <summary>I have a source text in a file and looking for a code that would take the
second (or n-th - in general) row from this file and print to a seperate
file.

Any idea how to do this?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I have a source text in a file and looking for a code that would take the second (or n-th - in general) row from this file and print to a seperate file.</p>

<p>Any idea how to do this?</p>

        </div>
    </content>
    <category term="perl"/>
    <published>2010-07-29T16:53:05Z</published>
    <updated>2010-07-29T16:53:05Z</updated>
    <author>
      <name>Marcin</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3365053/how-to-write-from-n-th-row-to-a-file-using-perl</id>
  </entry>
  <entry>
    <title>How do I find "wide characters" printed by perl?</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3364952/how-do-i-find-wide-characters-printed-by-perl" type="text/html"/>
    <summary>A perl script that scrapes static html pages from a website and writes
them to individual files appears to work, but also prints many instances
of wide character in print at ./script.pl line n to console: one for each
page scraped.

However, a brief glance at the html files generated does not reveal any
obvious mistakes in the scraping. How can I find/fix the problem
character(s)? Should I even care about fixing it?

The relevant code:

use WWW::Mechanize;
my $mech = WWW::Mechanize-&gt;new;   
...
foreach (@urls) {
    $mech-&gt;get($_); 
    print FILE $mech-&gt;content;  #MESSAGE REFERS TO THIS LINE
...

This is on OSX with Perl 5.8.8.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>A perl script that scrapes static html pages from a website and writes them to individual files appears to work, but also prints many instances of <code>wide character in print at ./script.pl line n</code> to console: one for each page scraped.</p>

<p>However, a brief glance at the html files generated does not reveal any obvious mistakes in the scraping. How can I find/fix the problem character(s)? Should I even care about fixing it?</p>

<p>The relevant code:  </p>

<pre><code>use WWW::Mechanize;
my $mech = WWW::Mechanize-&gt;new;   
...
foreach (@urls) {
    $mech-&gt;get($_); 
    print FILE $mech-&gt;content;  #MESSAGE REFERS TO THIS LINE
...
</code></pre>

<p>This is on OSX with Perl 5.8.8.</p>

        </div>
    </content>
    <category term="perl unicode screen-scraping www-mechanize"/>
    <published>2010-07-29T16:44:07Z</published>
    <updated>2010-07-29T16:44:07Z</updated>
    <author>
      <name>Larry Wang</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3364952/how-do-i-find-wide-characters-printed-by-perl</id>
  </entry>
  <entry>
    <title>| Learn How To Hack - Ethical Hacking Tutorials and Cyber security ...</title>
    <link rel="alternate" href="http://hackguide4u.blogspot.com/2010/07/writing-sql-injection-exploits-in-perl.html" type="text/html"/>
    <summary>[2] Little panning of Perl language used into an internet context. Using
a Perl code into an internet context means that u should be able to make
a sort of dialog between your script and the server side (or other..). To
make this u need ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">[2] Little panning of  <b>Perl</b> language used into an internet context. Using a <b>Perl</b> code into an internet context means that u should be able to make a sort of dialog between your script and the server side (or other..). To make this u need ...</div>
    </content>
    <published>2010-07-29T16:19:00Z</published>
    <updated>2010-07-29T16:19:00Z</updated>
    <author>
      <name>Adnan Anjum</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:hackguide4u.blogspot.com,2010-07-29:/2010/07/writing-sql-injection-exploits-in-perl.html/</id>
  </entry>
  <entry>
    <title>Rakudo Star - a useful, usable, "early adopter" distribution of ...</title>
    <link rel="alternate" href="http://news.perlfoundation.org/2010/07/rakudo-star---a-useful-usable.html" type="text/html"/>
    <summary>On behalf of the Rakudo and Perl 6 development teams, I'm happy to
announce the July 2010 release of "Rakudo Star", a useful and usable
distribution of Perl 6. The tarball for the July 2010 release is
available from ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">On behalf of the Rakudo and <b>Perl</b> 6 development teams, I'm happy to announce the July 2010 release of "Rakudo Star", a useful and usable distribution of <b>Perl</b> 6. The tarball for the July 2010 release is available from ...</div>
    </content>
    <published>2010-07-29T16:17:42Z</published>
    <updated>2010-07-29T16:17:42Z</updated>
    <author>
      <name>Karen</name>
    </author>
    <id>tag:desert-island.me.uk,2006:tag:news.perlfoundation.org,2010-07-29:/2010/07/rakudo-star---a-useful-usable.html/</id>
  </entry>
  <entry>
    <title>Dependencies in Perl code.</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3364713/dependencies-in-perl-code" type="text/html"/>
    <summary>I've been assigned to pick up a webapplication written in some old Perl
Legacy code, get it working on our server to later extend it. The code
was written 10 years ago by a solitary self-taught developer...

The code has weird stuff going on - they are not afraid to do
lib-param.pl on line one, and later in the file do /lib-pl/lib-param.pl -
which is offcourse a different file.

Including a.pl with methods b() and c() and later including d.pl with
methods c() and e() seems to be quite popular too... Packages appear to
be unknown, so you'll just find &amp;c() somewhere in the code later.

Interesting questions:

  * Is there a tool that can draw relations between perl-files? Show a
    list of files used by each other file?

  * The same for MySQL databases and tables? Can it show which
    schema's/tables are used by which files?

  * Is there an IDE that knows which c() is called - the one in a.pl or
    the one in d.pl?

  * How would you start to try to understand the code?

I'm inclined to go through each file and refactor it, but am not allowed
to do that - only the strict minimum to get the code working. (But since
the code never uses strict, I don't know if I'm gonna...)</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I've been assigned to pick up a webapplication written in some old Perl Legacy code, get it working on our server to later extend it. The code was written 10 years ago by a solitary self-taught developer...</p>

<p>The code has weird stuff going on - they are not afraid to <code>do lib-param.pl</code> on line one, and later in the file <code>do /lib-pl/lib-param.pl</code> - which is offcourse a different file. </p>

<p>Including <code>a.pl</code> with methods <code>b()</code> and <code>c()</code> and later including <code>d.pl</code> with methods <code>c()</code> and <code>e()</code> seems to be quite popular too... Packages appear to be unknown, so you'll just find &amp;c() somewhere in the code later.</p>

<p>Interesting questions:</p>

<ul>
<li>Is there a tool that can draw relations between perl-files? Show a list of files used by each other file?</li>
<li>The same for MySQL databases and tables? Can it show which schema's/tables are used by which files?</li>
<li>Is there an IDE that knows which c() is called - the one in a.pl or the one in d.pl?</li>
<li>How would you start to try to understand the code?</li>
</ul>

<p>I'm inclined to go through each file and refactor it, but am not allowed to do that - only the <em>strict minimum</em> to get the code working. (But since the code never <code>uses strict</code>, I don't know if I'm gonna...)</p>

        </div>
    </content>
    <category term="perl"/>
    <published>2010-07-29T16:17:26Z</published>
    <updated>2010-07-29T16:17:26Z</updated>
    <author>
      <name>Konerak</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3364713/dependencies-in-perl-code</id>
  </entry>
  <entry>
    <title>Sending text messages with perl?</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3364633/sending-text-messages-with-perl" type="text/html"/>
    <summary>Is there a way to send text messages for free or cheap with Perl? I see a
lot of things on CPAN, but they all cost quite a bit. Is there anyway to
send an email as a text message?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Is there a way to send text messages for free or cheap with Perl? I see a lot of things on CPAN, but they all cost quite a bit. Is there anyway to send an email as a text message?</p>

        </div>
    </content>
    <category term="perl text mobile-phones"/>
    <published>2010-07-29T16:10:09Z</published>
    <updated>2010-07-29T16:10:09Z</updated>
    <author>
      <name>shinjuo</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3364633/sending-text-messages-with-perl</id>
  </entry>
  <entry>
    <title>Push call in Perl overwriting array</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3364410/push-call-in-perl-overwriting-array" type="text/html"/>
    <summary>Ok, here's the deal. I have an array (inputted from a 400 MB file) where
if I run the sort() command on it, comp runs out of memory. The input
file isn't the problem, so I've decided to break the initial array into
smaller arrays that I can perform the sort on. I can break the initial
array into arrays of size 100k, which my code does.

(for the purposes of this testing, I've shrank the file from 400 MB to 40
MB)

I run my break array code, and on first iteration, i have an array of
100k as a reference in my @arrayList. My code is just this:

push @arrayList, \@sorted;        #@sorted is the sorted version of the 100k array
$temp = @arrayList;               #returns 1, which it should 
@arrayTemp2 = @{$arrayList[0]};
$temp = @arrayTemp2;              #returns 100k, which it should
@arrayTemp2 = @{$arrayList[1]};
$temp = @arrayTemp2;              #returns 0 since it is uninitialized

On the next loop in the for loop, the sorted array is the rest of the
initial array, only 23k. Same code runs again, with these results:

push @arrayList, \@sorted;        #@sorted is the sorted version of the 23k array
$temp = @arrayList;               #returns 2, which it should 
@arrayTemp2 = @{$arrayList[0]};
$temp = @arrayTemp2;              #returns 23301, which is wrong
@arrayTemp2 = @{$arrayList[1]};
$temp = @arrayTemp2;              #returns 23301, which is right.

I've tried using every different way I can think of to fix this, and I
just have no ideas left. Any help?

Thanks</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Ok, here's the deal.  I have an array (inputted from a 400 MB file) where if I run the sort() command on it, comp runs out of memory.  The input file isn't the problem, so I've decided to break the initial array into smaller arrays that I can perform the sort on.  I can break the initial array into arrays of size 100k, which my code does.</p>

<p>(for the purposes of this testing, I've shrank the file from 400 MB to 40 MB)</p>

<p>I run my break array code, and on first iteration, i have an array of 100k as a reference in my @arrayList.  My code is just this:</p>

<pre><code>push @arrayList, \@sorted;        #@sorted is the sorted version of the 100k array
$temp = @arrayList;               #returns 1, which it should 
@arrayTemp2 = @{$arrayList[0]};
$temp = @arrayTemp2;              #returns 100k, which it should
@arrayTemp2 = @{$arrayList[1]};
$temp = @arrayTemp2;              #returns 0 since it is uninitialized
</code></pre>

<p>On the next loop in the for loop, the sorted array is the rest of the initial array, only 23k.  Same code runs again, with these results:</p>

<pre><code>push @arrayList, \@sorted;        #@sorted is the sorted version of the 23k array
$temp = @arrayList;               #returns 2, which it should 
@arrayTemp2 = @{$arrayList[0]};
$temp = @arrayTemp2;              #returns 23301, which is wrong
@arrayTemp2 = @{$arrayList[1]};
$temp = @arrayTemp2;              #returns 23301, which is right.
</code></pre>

<p>I've tried using every different way I can think of to fix this, and I just have no ideas left.  Any help?</p>

<p>Thanks</p>

        </div>
    </content>
    <category term="perl arrays error push"/>
    <published>2010-07-29T15:50:03Z</published>
    <updated>2010-07-29T15:50:03Z</updated>
    <author>
      <name>ThePirateSheep</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3364410/push-call-in-perl-overwriting-array</id>
  </entry>
  <entry>
    <title>Perl map/grep memory leak</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3363917/perl-map-grep-memory-leak" type="text/html"/>
    <summary>I have been working on a perl project at work, and came across a strange
memory leak. I have boiled down the source of my problem into a contrived
example:

#!/usr/bin/perl
use strict;
use warnings;

# takes: an array reference
# returns: 1
sub g {
    my ($a) = @_;
    return 1; 
}

# takes: nothing
# returns: the result of applying g on an array reference
sub f {
    my @a = ('a') x 131072; # allocate roughly a megabyte 
    return g(\@a); 
}

# causes a leak:
#map { f($_) } (1..100000); 

# loop equivalent to map, no leak:
#my @b;
#for my $i (1..100000) {
#    push @b, f($_);
#}

# causes a leak:
#grep { f($_) } (1..100000);

# loop equivalent to grep, no leak:
#my @b;
#for my $i (1..100000) {
#    push @b, $i if f($_);
#}

Uncomment 1 of the 4 blocks of code (beneath the subroutines) at a time
and run the script while monitoring its memory usage. On my machine, the
code that uses grep or map appear to cause memory leaks, whereas the
"loop equivalent"s do not. My perl version is v5.10.1, and I am running
Ubuntu.

I believe this could be a bug in perl, but I don't want to jump to a
drastic conclusion without another opinion on what could be the cause.
Can anyone explain if this behaviour is correct?

Thanks</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I have been working on a perl project at work, and came across a strange memory leak.  I have boiled down the source of my problem into a contrived example:</p>

<pre><code>#!/usr/bin/perl
use strict;
use warnings;

# takes: an array reference
# returns: 1
sub g {
    my ($a) = @_;
    return 1; 
}

# takes: nothing
# returns: the result of applying g on an array reference
sub f {
    my @a = ('a') x 131072; # allocate roughly a megabyte 
    return g(\@a); 
}

# causes a leak:
#map { f($_) } (1..100000); 

# loop equivalent to map, no leak:
#my @b;
#for my $i (1..100000) {
#    push @b, f($_);
#}

# causes a leak:
#grep { f($_) } (1..100000);

# loop equivalent to grep, no leak:
#my @b;
#for my $i (1..100000) {
#    push @b, $i if f($_);
#}
</code></pre>

<p>Uncomment 1 of the 4 blocks of code (beneath the subroutines) at a time and run the script while monitoring its memory usage.  On my machine, the code that uses grep or map appear to cause memory leaks, whereas the "loop equivalent"s do not. My perl version is v5.10.1, and I am running Ubuntu. </p>

<p>I believe this could be a bug in perl, but I don't want to jump to a drastic conclusion without another opinion on what could be the cause.  Can anyone explain if this behaviour is correct?</p>

<p>Thanks</p>

        </div>
    </content>
    <category term="perl memory-leaks map grep"/>
    <published>2010-07-29T15:02:39Z</published>
    <updated>2010-07-29T15:02:39Z</updated>
    <author>
      <name>James Gleeson</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3363917/perl-map-grep-memory-leak</id>
  </entry>
  <entry>
    <title>How to reslove array hash issue</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3363868/how-to-reslove-array-hash-issue" type="text/html"/>
    <summary>  my %geo_location_map = (
                             US =&gt; [ 'US', 'CA' ],
                             EU =&gt; [ 'GB', 'ES' ],

                           );
   $location= "US" ;
   my $goahead = 0;

    if (exists  $geo_location_map{US} ) {
    print "exists";
        my @glocation =  $geo_location_map{US};

    foreach @glocation { 
        if ( $_ eq "$location"} { $goahead=1; last;}  
        }
    }

I tried its not working</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <pre><code>  my %geo_location_map = (
                             US =&gt; [ 'US', 'CA' ],
                             EU =&gt; [ 'GB', 'ES' ],

                           );
   $location= "US" ;
   my $goahead = 0;

    if (exists  $geo_location_map{US} ) {
    print "exists";
        my @glocation =  $geo_location_map{US};

    foreach @glocation { 
        if ( $_ eq "$location"} { $goahead=1; last;}  
        }
    }
</code></pre>

<p>I tried its not working </p>

        </div>
    </content>
    <category term="perl"/>
    <published>2010-07-29T14:58:35Z</published>
    <updated>2010-07-29T14:58:35Z</updated>
    <author>
      <name>Tree</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3363868/how-to-reslove-array-hash-issue</id>
  </entry>
  <entry>
    <title>How do I collect the lines between two key words?</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3363683/how-do-i-collect-the-lines-between-two-key-words" type="text/html"/>
    <summary>Hi, I have a file like:

START

  Length: 1432

  RIdentifier: 4

  VIdentifier: 4

  Format: 5

  TS number: 9

  DHeader

    Version        = 1
    Length         = 1432
    Command Flags  = RPT (0xd0)
    Command Code   = Accounting-Request (271)
    Application Id = Rf-Application (3)
    Hop By Hop Id  = 51
    End To End Id  = 8847360

START

  Length: 12

  RIdentifier: 2

  VIdentifier: 4

  Format: 5

  TS number: 6

  DHeader

    Version        = 1
    Length         = 1432
    Command Flags  = RPT (0xd0)
    Command Code   = Accounting-Request (271)
    Application Id = Rf-Application (3)
    Hop By Hop Id  = 51
    End To End Id  = 8847360

START

I need to collect all the lines that are found between START and write it
into 2 files. I tried with flip flop in Perl like:

open(FILE, $ARGV[0]);
while (&lt;FILE&gt;) {
    if (/START/ .. /START/) {
        print "$. $_ \n";
    }
}

But I am getting only the lines that have START. Could you please help
me?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Hi, I have a file like:</p>

<pre><code>START

  Length: 1432

  RIdentifier: 4

  VIdentifier: 4

  Format: 5

  TS number: 9

  DHeader

    Version        = 1
    Length         = 1432
    Command Flags  = RPT (0xd0)
    Command Code   = Accounting-Request (271)
    Application Id = Rf-Application (3)
    Hop By Hop Id  = 51
    End To End Id  = 8847360

START

  Length: 12

  RIdentifier: 2

  VIdentifier: 4

  Format: 5

  TS number: 6

  DHeader

    Version        = 1
    Length         = 1432
    Command Flags  = RPT (0xd0)
    Command Code   = Accounting-Request (271)
    Application Id = Rf-Application (3)
    Hop By Hop Id  = 51
    End To End Id  = 8847360

START
</code></pre>

<p>I need to collect all the lines that are found between <code>START</code> and write it into 2 files.
I tried with flip flop in Perl like:</p>

<pre><code>open(FILE, $ARGV[0]);
while (&lt;FILE&gt;) {
    if (/START/ .. /START/) {
        print "$. $_ \n";
    }
}
</code></pre>

<p>But I am getting only the lines that have <code>START</code>. Could you please help me?</p>

        </div>
    </content>
    <category term="perl"/>
    <published>2010-07-29T14:42:39Z</published>
    <updated>2010-07-29T14:42:39Z</updated>
    <author>
      <name>ram</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3363683/how-do-i-collect-the-lines-between-two-key-words</id>
  </entry>
  <entry>
    <title>Rakudo Star - A first usable Perl 6</title>
    <link rel="alternate" href="http://rss.feedsportal.com/c/32569/f/491734/s/c5ec8cd/l/0L0Sh0Eonline0N0Copen0Cnews0Citem0CRakudo0EStar0EA0Efirst0Eusable0EPerl0E60E10A480A360Bhtml0Cfrom0Crss/story01.htm" type="text/html"/>
    <summary>A first usable Perl 6 implementation has been released in the form of
Rakudo Star. Aimed at the early adopters of Perl 6, it is not yet
complete[IMAGE]

[IMAGE]

[IMAGE]



[IMAGE]</summary>
    <content type="text">A first usable Perl 6 implementation has been released in the form of Rakudo Star. Aimed at the early adopters of Perl 6, it is not yet complete&lt;img src="http://rss.feedsportal.com/c/32569/f/491734/s/c5ec8cd/mf.gif"&gt;&lt;div class="mf-viral"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td valign="middle"&gt;&lt;a href="http://res.feedsportal.com/viral/sendemail2.html?title=Rakudo+Star+-+A+first+usable+Perl+6&amp;amp;link=http%3A%2F%2Fwww.h-online.com%2Fopen%2Fnews%2Fitem%2FRakudo-Star-A-first-usable-Perl-6-1048036.html%2Ffrom%2Frss" target="_blank"&gt;&lt;img src="http://res3.feedsportal.com/images/emailthis2.gif"&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign="middle"&gt;&lt;a href="http://res.feedsportal.com/viral/bookmark.cfm?title=Rakudo+Star+-+A+first+usable+Perl+6&amp;amp;link=http%3A%2F%2Fwww.h-online.com%2Fopen%2Fnews%2Fitem%2FRakudo-Star-A-first-usable-Perl-6-1048036.html%2Ffrom%2Frss" target="_blank"&gt;&lt;img src="http://res3.feedsportal.com/images/bookmark.gif"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;br/&gt;&lt;br/&gt;&lt;a href="http://da.feedsportal.com/r/77788591684/u/0/f/491734/c/32569/s/207538381/a2.htm"&gt;&lt;img src="http://da.feedsportal.com/r/77788591684/u/0/f/491734/c/32569/s/207538381/a2.img"&gt;&lt;/a&gt;</content>
    <published>2010-07-29T14:15:59Z</published>
    <updated>2010-07-29T14:15:59Z</updated>
    <author>
      <name>nobody</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://rss.feedsportal.com/c/32569/f/491734/s/c5ec8cd/l/0L0Sh0Eonline0N0Copen0Cnews0Citem0CRakudo0EStar0EA0Efirst0Eusable0EPerl0E60E10A480A360Bhtml0Cfrom0Crss/story01.htm</id>
  </entry>
  <entry>
    <title>Benchmarking simple stuff in different languages</title>
    <link rel="alternate" href="http://skeldoy.wordpress.com/2010/07/29/benchmarking-simple-stuff-in-different-languages/" type="text/html"/>
    <summary>I wanted to find out just how big the differences in speed was between
popular languages. To benchmark the languages I choose a very simple but
common operation to be performed in similar conditions with different
languages. The results came as quite a surprise.

Method

To do this benchmark I made simple Hello World programs in the different
languages (some compiled, some interpreted). I then wrote a simple
wrapper in Perl that ran the programs in a for-loop, simulating running
the program 1000 times. This method may be a testament to how well my
ubuntu fires different executables and frameworks and not to the code,
but it is still interesting to see how a real world application of a
program language is to do a menial task like printing a string many
times. To eliminate the graphics-card I piped the output of the programs
to a file in one instance and did nothing with it in another instance
(just back-ticking the output to a perl-variable and then doing nothing
to it). Before claiming that the methodology is unfair I would like to
point out that this is the way I run programs on linux/unix and that for
my particular use this is a valid benchmark.

Language

Seconds

Asm (nasm)

0.46

C (llvm)

0.84

Obj-C (llvm)

0.85

C (gcc)

0.87

Sh

1.11

C++ (llvm)

1.22

Pascal (fp)

1.48

Awk

1.83

C++ (gcc)

1.86

Fortran (G95)

2.15

Brainfuck

2.24

Perl

3.01

Bash

3.13

Cobol (open)

3.35

Obfuscated Perl

3.68

Ruby

5.35

Tcl

5.53

Python

16.33

Php

103.97

Java

121.88

Groovy

1318

Doing another benchmark where I basically let the hello world program
contain a 1000000 long for-loop written in the program itself and then
running this program 10 times I got different results:

GCC: timethis 10: 1 wallclock secs ( 0.00 usr 0.00 sys + 0.69 cusr 0.39
csys = 1.08 CPU) @ 9.26/s (n=10)
LLVM: timethis 10: 1 wallclock secs ( 0.00 usr 0.00 sys + 0.68 cusr 0.42
csys = 1.10 CPU) @ 9.09/s (n=10)
Perl: timethis 10: 2 wallclock secs ( 0.00 usr 0.00 sys + 1.73 cusr 0.44
csys = 2.17 CPU) @ 4.61/s (n=10)
Python: timethis 10: 8 wallclock secs ( 0.00 usr 0.00 sys + 6.41 cusr
0.68 csys = 7.09 CPU) @ 1.41/s (n=10)
Php: timethis 10: 40 wallclock secs ( 0.00 usr 0.00 sys + 7.20 cusr 28.15
csys = 35.35 CPU) @ 0.28/s (n=10)
Java: timethis 10: 111 wallclock secs ( 0.00 usr 0.01 sys + 36.21 cusr
61.36 csys = 97.58 CPU) @ 0.10/s (n=10)
Bash: timethis 10: 321 wallclock secs ( 0.00 usr 0.01 sys + 248.54 cusr
49.48 csys = 298.03 CPU) @ 0.03/s (n=10)

This speaks to the sluggishness of the different interpreters and virtual
machines and/or the size of the executable. But it also underlines the
importance of choosing which programming language you use wisely
depending on the case you want to solve. Sure this is a moot point in
most cases, but imaging taking development time into account. Writing
something in PHP can be OK to solve a problem quickly, but seeing that
writing the same code in Perl can be as easy or even easier and seeing
the performance boost that script would have makes you wonder why PHP is
even out there.

The most surprising result is the Bash. Running a simple bash-script 1000
times from the console is pretty snappy in terms of other scripting
languages, but having bash loop a million times and running that is
slower than even Java. That is a real surprise. The relative slowness of
Python is also interesting, given that Python’s popularity is growing
where Perl looses supporters. But equally as surprising is the speed at
which Perl does this simple operation. Writing stuff in Perl is
relatively straight forward (compared to C) but that does not seem to be
a problem when doing menial tasks like this.

Language

Seconds

Asm (nasm)

0.46

C (llvm)

0.84

Obj-C (llvm)

0.85

C (gcc)

0.87

Sh

1.11

C++ (llvm)

1.22

Pascal (fp)

1.48

Awk

1.83

C++ (gcc)

1.86

Fortran (G95)

2.15

Brainfuck

2.24

Perl

3.01

Bash

3.13

Cobol (open)

3.35

Obfuscated Perl

3.68

Ruby

5.35

Tcl

5.53

Python

16.33

Php

103.97

Java

121.88

Groovy

1318</summary>
    <content type="html">&lt;div class="snap_preview"&gt;&lt;p&gt;I wanted to find out just how big the differences in speed was between popular languages. To benchmark the languages I choose a very simple but common operation to be performed in similar conditions with different languages. The results came as quite a surprise.&lt;/p&gt;
&lt;p&gt;Method&lt;/p&gt;
&lt;p&gt;To do this benchmark I made simple Hello World programs in the different languages (some compiled, some interpreted). I then wrote a simple wrapper in Perl that ran the programs in a for-loop, simulating running the program 1000 times. This method may be a testament to how well my ubuntu fires different executables and frameworks and not to the code, but it is still interesting to see how a real world application of a program language is to do a menial task like printing a string many times. To eliminate the graphics-card I piped the output of the programs to a file in one instance and did nothing with it in another instance (just back-ticking the output to a perl-variable and then doing nothing to it). Before claiming that the methodology is unfair I would like to point out that this is the way I run programs on linux/unix and that for my particular use this is  a valid benchmark.&lt;/p&gt;
&lt;table border="0" cellspacing="0" rules="NONE"&gt;
&lt;col width="86"&gt;&lt;/col&gt;
&lt;col width="86"&gt;&lt;/col&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="86" height="17" align="LEFT"&gt;Language&lt;/td&gt;
&lt;td width="86" align="LEFT"&gt;Seconds&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Asm (nasm)&lt;/td&gt;
&lt;td align="RIGHT"&gt;0.46&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;C (llvm)&lt;/td&gt;
&lt;td align="RIGHT"&gt;0.84&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Obj-C (llvm)&lt;/td&gt;
&lt;td align="RIGHT"&gt;0.85&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;C (gcc)&lt;/td&gt;
&lt;td align="RIGHT"&gt;0.87&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Sh&lt;/td&gt;
&lt;td align="RIGHT"&gt;1.11&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;C++ (llvm)&lt;/td&gt;
&lt;td align="RIGHT"&gt;1.22&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Pascal (fp)&lt;/td&gt;
&lt;td align="RIGHT"&gt;1.48&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Awk&lt;/td&gt;
&lt;td align="RIGHT"&gt;1.83&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;C++ (gcc)&lt;/td&gt;
&lt;td align="RIGHT"&gt;1.86&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Fortran (G95)&lt;/td&gt;
&lt;td align="RIGHT"&gt;2.15&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Brainfuck&lt;/td&gt;
&lt;td align="RIGHT"&gt;2.24&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Perl&lt;/td&gt;
&lt;td align="RIGHT"&gt;3.01&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Bash&lt;/td&gt;
&lt;td align="RIGHT"&gt;3.13&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Cobol (open)&lt;/td&gt;
&lt;td align="RIGHT"&gt;3.35&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Obfuscated Perl&lt;/td&gt;
&lt;td align="RIGHT"&gt;3.68&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Ruby&lt;/td&gt;
&lt;td align="RIGHT"&gt;5.35&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Tcl&lt;/td&gt;
&lt;td align="RIGHT"&gt;5.53&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Python&lt;/td&gt;
&lt;td align="RIGHT"&gt;16.33&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Php&lt;/td&gt;
&lt;td align="RIGHT"&gt;103.97&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Java&lt;/td&gt;
&lt;td align="RIGHT"&gt;121.88&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Groovy&lt;/td&gt;
&lt;td align="RIGHT"&gt;1318&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Doing another benchmark where I basically let the hello world program contain a 1000000 long for-loop written in the program itself and then running this program 10 times I got different results:&lt;/p&gt;
&lt;p&gt;GCC:    timethis 10:  1 wallclock secs ( 0.00 usr  0.00 sys +  0.69 cusr  0.39 csys =  1.08 CPU) @  9.26/s (n=10)&lt;br /&gt;
LLVM:    timethis 10:  1 wallclock secs ( 0.00 usr  0.00 sys +  0.68  cusr  0.42 csys =  1.10 CPU) @  9.09/s (n=10)&lt;br /&gt;
Perl:    timethis 10:  2 wallclock secs ( 0.00 usr  0.00 sys +  1.73  cusr  0.44 csys =  2.17 CPU) @  4.61/s (n=10)&lt;br /&gt;
Python:    timethis 10:  8 wallclock secs ( 0.00 usr  0.00 sys +  6.41  cusr  0.68 csys =  7.09 CPU) @  1.41/s (n=10)&lt;br /&gt;
Php:    timethis 10: 40 wallclock secs ( 0.00 usr  0.00 sys +  7.20 cusr  28.15 csys = 35.35 CPU) @  0.28/s (n=10)&lt;br /&gt;
Java:    timethis 10: 111 wallclock secs ( 0.00 usr  0.01 sys + 36.21  cusr 61.36 csys = 97.58 CPU) @  0.10/s (n=10)&lt;br /&gt;
Bash:    timethis 10: 321 wallclock secs ( 0.00 usr  0.01 sys + 248.54 cusr 49.48 csys = 298.03 CPU) @  0.03/s (n=10)&lt;/p&gt;
&lt;p&gt;This speaks to the sluggishness of the different interpreters and virtual machines and/or the size of the executable. But it also underlines the importance of choosing which programming language you use wisely depending on the case you want to solve. Sure this is a moot point in most cases, but imaging taking development time into account. Writing something in PHP can be OK to solve a problem quickly, but seeing that writing the same code in Perl can be as easy or even easier and seeing the performance boost that script would have makes you wonder why PHP is even out there.&lt;/p&gt;
&lt;p&gt;The most surprising result is the Bash. Running a simple bash-script 1000 times from the console is pretty snappy in terms of other scripting languages, but having bash loop a million times and running that is slower than even Java. That is a real surprise. The relative slowness of Python is also interesting, given that Python&amp;#8217;s popularity is growing where Perl looses supporters. But equally as surprising is the speed at which Perl does this simple operation. Writing stuff in Perl is relatively straight forward (compared to C) but that does not seem to be a problem when doing menial tasks like this.&lt;/p&gt;
&lt;div id="_mcePaste"&gt;&lt;/p&gt;
&lt;table border="0" cellspacing="0" rules="NONE"&gt;
&lt;col width="86"&gt;&lt;/col&gt;
&lt;col width="86"&gt;&lt;/col&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="86" height="17" align="LEFT"&gt;Language&lt;/td&gt;
&lt;td width="86" align="LEFT"&gt;Seconds&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Asm (nasm)&lt;/td&gt;
&lt;td align="RIGHT"&gt;0.46&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;C (llvm)&lt;/td&gt;
&lt;td align="RIGHT"&gt;0.84&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Obj-C (llvm)&lt;/td&gt;
&lt;td align="RIGHT"&gt;0.85&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;C (gcc)&lt;/td&gt;
&lt;td align="RIGHT"&gt;0.87&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Sh&lt;/td&gt;
&lt;td align="RIGHT"&gt;1.11&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;C++ (llvm)&lt;/td&gt;
&lt;td align="RIGHT"&gt;1.22&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Pascal (fp)&lt;/td&gt;
&lt;td align="RIGHT"&gt;1.48&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Awk&lt;/td&gt;
&lt;td align="RIGHT"&gt;1.83&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;C++ (gcc)&lt;/td&gt;
&lt;td align="RIGHT"&gt;1.86&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Fortran (G95)&lt;/td&gt;
&lt;td align="RIGHT"&gt;2.15&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Brainfuck&lt;/td&gt;
&lt;td align="RIGHT"&gt;2.24&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Perl&lt;/td&gt;
&lt;td align="RIGHT"&gt;3.01&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Bash&lt;/td&gt;
&lt;td align="RIGHT"&gt;3.13&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Cobol (open)&lt;/td&gt;
&lt;td align="RIGHT"&gt;3.35&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Obfuscated Perl&lt;/td&gt;
&lt;td align="RIGHT"&gt;3.68&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Ruby&lt;/td&gt;
&lt;td align="RIGHT"&gt;5.35&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Tcl&lt;/td&gt;
&lt;td align="RIGHT"&gt;5.53&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Python&lt;/td&gt;
&lt;td align="RIGHT"&gt;16.33&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Php&lt;/td&gt;
&lt;td align="RIGHT"&gt;103.97&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Java&lt;/td&gt;
&lt;td align="RIGHT"&gt;121.88&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td height="17" align="LEFT"&gt;Groovy&lt;/td&gt;
&lt;td align="RIGHT"&gt;1318&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;</content>
    <published>2010-07-29T14:06:17Z</published>
    <updated>2010-07-29T14:06:17Z</updated>
    <author>
      <name>skeldoy</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://skeldoy.wordpress.com/2010/07/29/benchmarking-simple-stuff-in-different-languages/</id>
  </entry>
  <entry>
    <title>Find combinations of numbers that sum to some desired number</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3363250/find-combinations-of-numbers-that-sum-to-some-desired-number" type="text/html"/>
    <summary>I need an algorithm that identifies all possible combinations of a set of
numbers that sum to some other number.

For example, given the set {2,3,4,7}, I need to know all possible subsets
that sum to x. If x == 12, the answer is {2,3,7}; if x ==7 the answer is
{{3,4},{7}} (ie, two possible answers); and if x==8 there is no answer.
Note that, as these example imply, numbers in the set cannot be reused.

This question was asked on this site a couple years ago but the answer is
in C# and I need to do it in Perl and don't know enough to translate the
answer.

I know that this problem is hard (see other post for discussion), but I
just need a brute-force solution because I am dealing with fairly small
sets.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I need an algorithm that identifies all possible combinations of a set of numbers that sum to some other number.</p>

<p>For example, given the set <code>{2,3,4,7}</code>, I need to know all possible subsets that sum to <code>x</code>. If <code>x == 12</code>, the answer is <code>{2,3,7}</code>; if <code>x ==7</code> the answer is <code>{{3,4},{7}}</code> (ie, two possible answers); and if <code>x==8</code> there is no answer. Note that, as these example imply, numbers in the set cannot be reused.</p>

<p>This question <a href="http://stackoverflow.com/questions/83547/algorithm-to-find-which-numbers-from-a-list-of-size-n-sum-to-another-number">was asked on this site a couple years ago</a> but the answer is in C# and I need to do it in Perl and don't know enough to translate the answer.</p>

<p>I know that this problem is hard (see other post for discussion), but I just need a brute-force solution because I am dealing with fairly small sets.</p>

        </div>
    </content>
    <category term="perl math"/>
    <published>2010-07-29T13:59:49Z</published>
    <updated>2010-07-29T13:59:49Z</updated>
    <author>
      <name>itzy</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3363250/find-combinations-of-numbers-that-sum-to-some-desired-number</id>
  </entry>
  <entry>
    <title>passing a data structure from java to perl (and vice versa)</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3362939/passing-a-data-structure-from-java-to-perl-and-vice-versa" type="text/html"/>
    <summary>Hi,

A few days ago I asked about passing a data structure from java to perl
and vice versa, and one of the recos was JSON. I played with it (mainly
using Gson for java) and it seems quite nice. The only problem is I have
references inside my data structure (to other objects inside the same
data structure). Currently, each such reference is "translated" fully so
actually each object is duplicated many times, and you can't tell all
those references pointed to the same object.

Is there someway to pass info from java to per and vice versa, preferably
in a human readable format, that also keeps the data about references
instead duplicating values?

Thamks, Dave</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Hi,</p>

<p>A few days ago I asked about passing a data structure from java to perl and vice versa, and one of the recos was JSON. I played with it (mainly using Gson for java) and it seems quite nice. The only problem is I have references inside my data structure (to other objects inside the same data structure). Currently, each such reference is "translated" fully so actually each object is duplicated many times, and you can't tell all those references pointed to the same object.</p>

<p>Is there someway to pass info from java to per and vice versa, preferably in a human readable format, that also keeps the data about references instead duplicating values?</p>

<p>Thamks,
Dave</p>

        </div>
    </content>
    <category term="java perl json serialization"/>
    <published>2010-07-29T13:27:50Z</published>
    <updated>2010-07-29T13:27:50Z</updated>
    <author>
      <name>David B</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3362939/passing-a-data-structure-from-java-to-perl-and-vice-versa</id>
  </entry>
  <entry>
    <title>Computer Languages History</title>
    <link rel="alternate" href="http://strawthesis.wordpress.com/2010/07/29/computer-languages-history/" type="text/html"/>
    <summary>  * Action Script

      1. Action Script Home Page

      2. Action Script Adobe Developer Connection

      3. Action Script tutorials

  * Ada

      1. Ada 95

      2. Ada Home Page

      3. AdaPower

      4. Special Interest Group on Ada

      5. Ada Information Clearinghouse

  * ALGOL

      1. The ALGOL Programming Language

  * AWK

      1. The AWK Programming Language by Alfred V. Aho, Brian W.
        Kernighan, and Peter J. Weinberger

  * APL

      1. Apl Language

      2. APL

  * B 

      1. The Programming Language B (abstract)

      2. Users’ Reference to B by Ken Thompson

  * BASIC

      1. The Basic Archives

      2. Visual Basic Instinct

      3. Visual Basic &amp; Visual Basic .NET Resources

      4. True BASIC

      5. REALbasic

  * BCPL

      1. BCPL Reference Manual by Martin Richards

  * C 

      1. The Development of the C Language by Dennis Ritchie

      2. Very early C compilers and language by Dennis Ritchie

      3. The C Programming Language (book)

      4. Programming languages – C ANSI by ISO/IEC (draft)

      5. C Programming Course

  * C++

      1. The C++ Programming Language (book)

      2. C and C++: Siblings (pdf) by Bjarne Stroustrup

      3. C++0x – the next ISO C++ standard by Bjarne Stroustrup

  * C#

      1. Visual C# Language by Microsoft.

  * Caml

      1. The Caml language

      2. Objective Caml

      3. The Objective-Caml system

  * CLU

      1. CLU Home Page

  * COBOL

      1. IBM COBOL family

      2. COBOL Portal

      3. TinyCOBOL

      4. COBOL User Groups – COBUG

  * CORAL

      1. Coral66

      2. Computer On-line Real-time Applications Language Coral 66
        Specification for Compilers (pdf)

  * CPL

      1. Combined Programming Language (Wikipedia)

  * Delphi

      1. Delphi 2005 by Borland

      2. Pascal and Delphi

      3. A brief history of Borland’s Delphi

      4. Delphi Treff: Delphi versions (german)

  * Eiffel

      1. Eiffel

      2. EiffelStudio by Eiffel Software

      3. Visual Eiffel by Object Tools

      4. SmartEiffel

      5. EiffelZone

  * Flash

      1. Adobe Flash

  * Flex

      1. Adobe Flex Software development kit

  * Flow-Matic

      1. Flow-Matic and Cobol

  * Forth

      1. Forth Interest Group Home Page

  * Fortran

      1. User notes on Fortran programming

      2. Fortran 2000 draft

      3. Fortran 2003 JTC1/SC22/WG5

  * Haskell

      1. Haskell Home Page

  * Icon

      1. The Icon Programming Language

      2. Icon

      3. History of the Icon programming language

      4. Unicon, the Unified Extended Dialect of Icon

  * J 

      1. J software

      2. A management perspective of the “J” programming language

  * Java

      1. Java by Sun Microsystems

      2. Java Technology: an early history

      3. Programming Languages for the Java Virtual Machine

      4. James Gosling’s home page

  * JavaScript

      1. Cmm History by Nombas

      2. JavaScript Language Resources from Mozilla

      3. Standard ECMA-262

  * Lisp

      1. The Association of Lisp Users

      2. An Introduction and Tutorial for Common Lisp

  * Mainsail

      * Mainsail from Xidak.

      1. Mainsail Implementation Overview by Stanford Computer Systems
        Laboratory.

  * M (MUMPS)

      1. M technologies

      2. M[UMPS] Development Committee

      3. What is M Technology?

  * ML

      1. Standard ML

      2. Standard ML ’97

  * Modula

      1. Modula-2

      2. Modula-3 Home Page

      3. Modula-2 ISO/IEC

  * Oberon

      1. A Brief History of Oberon

      2. A Description of the Oberon-2 Language

      3. The Programming Language Oberon-2

      4. Oberon Language Genealogy Tree

  * Objective-C

      1. Objective-C

      2. Objective-C FAQ

      3. Introduction to The Objective-C Programming Language by Apple

      4. Objective-C: Links, Resources, Stuff

  * Pascal

      1. ISO Pascal (document)

      2. Pascal and Delphi

  * Perl

      1. Perl Home Page

      2. Perl

      3. Larry Wall’s Very Own Home Page

  * PHP

      1. PHP: Hypertext Preprocessor

  * PL/I

      1. Multics PL/I

      2. IBM PL/I family by IBM

  * Plankalkül

      1. Plankalkül

  * PostScript

      1. PostScript level 3 by Adobe

      2. PostScript GhostScript PDF

      3. GhostScript Home Page

  * Prolog

      1. Prolog Programming Language

      2. The Prolog Language

  * Python

      1. Python Home Page

  * Rexx

      1. IBM REXX Family by IBM

      2. The Rexx Language Association

  * Ruby

      1. Ruby Home Page

      2. Ruby programming language (Wikipedia)

      3. Ruby – doc

  * Sail

      1. Sail (Stanford Artificial Intelligence Language)

  * Sather

      1. Sather History

      2. Sather

      3. GNU Sather

  * Scheme

      1. Scheme by MIT

      2. The Revised5 Report on the Algorithmic Language Scheme (in
        PostScript)

      3. Schemers Home Page

      4. SCM

  * Self

      1. Self Home Page from Sun

  * Sh

      1. The Traditional Bourne Shell Family by Sven Mascheck

      2. Korn Shell by David Korn

      3. Bash from GNU

      4. Zsh

  * Simula

      1. Simula by Jan Rune Holmevik

  * Smalltalk

      1. Smalltalk Home Page

      2. Smalltalk FAQ

      3. The Early History of Smalltalk

      4. The Smalltalk Industry Council web site

      5. VisualAge Smalltalk from IBM

      6. VisualWorks from Cincom

      7. The history of Squeak

      8. ANSI Smalltalk

  * SNOBOL

      1. Snobol4 Resources by Phil Budne

      2. Introduction to SNOBOL Programming Language by Mohammad Noman
        Hameed

      3. Snobol4

  * Tcl/Tk

      1. Tcl/Tk Information

17.421585 78.451038</summary>
    <content type="html">&lt;div class="snap_preview"&gt;&lt;ul&gt;
&lt;li&gt;Action Script
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.actionscript.org/"&gt;Action Script &lt;/a&gt;Home Page&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.adobe.com/devnet/actionscript/"&gt;Action Script &lt;/a&gt;Adobe Developer Connection&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.adobe.com/support/flash/action_scripts/actionscript_tutorial/"&gt;Action Script &lt;/a&gt;tutorials&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Ada
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://burks.bton.ac.uk/burks/language/ada/index.htm"&gt;Ada 95&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.adahome.com/"&gt;Ada&lt;/a&gt; Home  Page&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.adapower.com/"&gt;AdaPower&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.acm.org/sigada/"&gt;Special  Interest Group on Ada&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.adaic.org/"&gt;Ada Information  Clearinghouse&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;ALGOL
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.engin.umd.umich.edu/CIS/course.des/cis400/algol/algol.html"&gt;The  ALGOL Programming Language&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;AWK
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.cs.bell-labs.com/cm/cs/awkbook/"&gt;The AWK Programming  Language&lt;/a&gt; by Alfred V. Aho, Brian W. Kernighan, and Peter J.  Weinberger&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;APL
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://c2.com/cgi/wiki?AplLanguage"&gt;Apl  Language&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.thocp.net/software/languages/apl.htm"&gt;APL&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;B
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://cm.bell-labs.com/cm/cs/who/dmr/bintro.html"&gt;The Programming  Language B&lt;/a&gt; (abstract)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://cm.bell-labs.com/cm/cs/who/dmr/kbman.html"&gt;Users’ Reference  to B&lt;/a&gt; by Ken Thompson&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;BASIC
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.fys.ruu.nl/%7Ebergmann/basic.html"&gt;The Basic Archives&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.vbi.org/"&gt;Visual Basic  Instinct&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.pcbargainhunter.com/articles/visual-basic.html"&gt;Visual  Basic &amp;#38; Visual Basic .NET Resources&lt;/a&gt; &lt;img src="http://www.levenez.com/gen/new.png" alt=""&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.truebasic.com/"&gt;True BASIC&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.realbasic.com/"&gt;REALbasic&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;BCPL
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://cm.bell-labs.com/cm/cs/who/dmr/bcpl.html"&gt;BCPL Reference  Manual&lt;/a&gt; by Martin Richards&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;C
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://cm.bell-labs.com/cm/cs/who/dmr/chist.html"&gt;The Development  of the C Language&lt;/a&gt; by &lt;a href="http://cm.bell-labs.com/cm/cs/who/dmr/"&gt;Dennis Ritchie&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.cs.bell-labs.com/%7Edmr/primevalC.html"&gt;Very early C  compilers and language&lt;/a&gt; by Dennis Ritchie&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.cs.bell-labs.com/cm/cs/cbook/"&gt;The C Programming  Language&lt;/a&gt; (book)&lt;/li&gt;
&lt;li&gt;&lt;a href="ftp://dkuug.dk/JTC1/SC22/WG14/www/docs/n869/"&gt;Programming  languages – C ANSI&lt;/a&gt; by &lt;a href="http://anubis.dkuug.dk/JTC1/SC22/WG14/"&gt;ISO/IEC&lt;/a&gt; (draft)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.strath.ac.uk/IT/Docs/Ccourse/ccourse.html"&gt;C  Programming Course&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;C++
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.research.att.com/%7Ebs/3rd.html"&gt;The C++ Programming  Language&lt;/a&gt; (book)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.research.att.com/%7Ebs/siblings_short.pdf"&gt;C and C++:  Siblings&lt;/a&gt; (pdf) by &lt;a href="http://www.research.att.com/%7Ebs/"&gt;Bjarne Stroustrup&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.research.att.com/%7Ebs/C++0xFAQ.html"&gt;C++0x – the next  ISO C++ standard&lt;/a&gt; by Bjarne Stroustrup&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;C#
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cscon/html/vcoricstartpage.asp"&gt;Visual  C# Language&lt;/a&gt; by Microsoft.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Caml
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://pauillac.inria.fr/caml/index-eng.html"&gt;The Caml language&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://caml.inria.fr/ocaml/"&gt;Objective  Caml&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://wwwfun.kurims.kyoto-u.ac.jp/soft/ocaml/htmlman/"&gt;The  Objective-Caml system&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;CLU
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.pmg.lcs.mit.edu/CLU.html"&gt;CLU  Home Page&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;COBOL
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www-306.ibm.com/software/awdtools/cobol/"&gt;IBM COBOL family&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.cobolportal.com/"&gt;COBOL  Portal&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://tiny-cobol.sourceforge.net/"&gt;TinyCOBOL&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.cobug.com/"&gt;COBOL User Groups  – COBUG&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;CORAL
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.xgc.com/products/coral66.htm"&gt;Coral66&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.dstan.mod.uk/data/05/047/00000200.pdf"&gt;Computer On-line  Real-time Applications Language Coral 66 Specification for Compilers&lt;/a&gt; (pdf)&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;CPL
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.wikipedia.com/wiki/CPL"&gt;Combined  Programming Language&lt;/a&gt; (Wikipedia)&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Delphi
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.borland.com/delphi/"&gt;Delphi  2005&lt;/a&gt; by Borland&lt;/li&gt;
&lt;li&gt;&lt;a href="http://burks.bton.ac.uk/burks/language/pascal/index.htm"&gt;Pascal  and Delphi&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.delphibasics.co.uk/Article.asp?Name=DelphiHistory"&gt;A  brief history of Borland’s Delphi&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.delphi-treff.de/was-ist-delphi/versionen/"&gt;Delphi Treff&lt;/a&gt;:  Delphi versions (german)&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Eiffel
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://burks.bton.ac.uk/burks/language/eiffel/index.htm"&gt;Eiffel&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;EiffelStudio by &lt;a href="http://www.eiffel.com/"&gt;Eiffel  Software&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Visual Eiffel by &lt;a href="http://www.object-tools.com/"&gt;Object Tools&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://smarteiffel.loria.fr/"&gt;SmartEiffel&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.eiffelzone.com/"&gt;EiffelZone&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Flash
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.adobe.com/go/flash"&gt;Adobe Flash&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Flex
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.adobe.com/go/flex4_sdk"&gt;Adobe Flex Software development kit&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Flow-Matic
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.objectz.com/columnists/denise/featurepart2.html"&gt;Flow-Matic  and Cobol&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Forth
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.forth.org/"&gt;Forth Interest  Group&lt;/a&gt; Home Page&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Fortran
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.ibiblio.org/pub/languages/fortran/unfp.html"&gt;User notes  on Fortran programming&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.dkuug.dk/jtc1/sc22/open/n3501.pdf"&gt;Fortran 2000 draft&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Fortran 2003 &lt;a href="http://www.nag.co.uk/sc22wg5/"&gt;JTC1/SC22/WG5&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Haskell
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.haskell.org/"&gt;Haskell&lt;/a&gt; Home Page&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Icon
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.cs.arizona.edu/icon/index.htm"&gt;The Icon Programming  Language&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://burks.bton.ac.uk/burks/language/icon/index.htm"&gt;Icon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://portal.acm.org/citation.cfm?doid=155360.155363"&gt;History of  the Icon programming language&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.unicon.org/"&gt;Unicon, the  Unified Extended Dialect of Icon&lt;/a&gt; &lt;img src="http://www.levenez.com/gen/new.png" alt=""&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;J
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.jsoftware.com/"&gt;J software&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.island.net/%7Egordon/jmanage.htm"&gt;A management  perspective of the “J” programming language&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Java
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://java.sun.com/"&gt;Java&lt;/a&gt; by Sun  Microsystems&lt;/li&gt;
&lt;li&gt;&lt;a href="http://java.sun.com/features/1998/05/birthday.html"&gt;Java  Technology: an early history&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.robert-tolksdorf.de/vmlanguages.html"&gt;Programming  Languages for the Java Virtual Machine&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://java.sun.com/people/jag/"&gt;James  Gosling’s home page&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;JavaScript
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.nombas.com/us/scripting/history.htm"&gt;Cmm History&lt;/a&gt; by  Nombas&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.mozilla.org/js/language/"&gt;JavaScript  Language Resources&lt;/a&gt; from Mozilla&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.ecma-international.org/publications/standards/Ecma-262.htm"&gt;Standard  ECMA-262&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a name="Lisp"&gt;Lisp&lt;/a&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.lisp.org/"&gt;The Association of  Lisp Users&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.apl.jhu.edu/%7Ehall/lisp.html"&gt;An Introduction and  Tutorial for Common Lisp&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Mainsail
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.xidak.com/"&gt;Mainsail&lt;/a&gt; from  Xidak.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="ftp://reports.stanford.edu/pub/cstr/reports/cs/tr/80/792/CS-TR-80-792.pdf"&gt;Mainsail  Implementation Overview&lt;/a&gt; by Stanford Computer Systems Laboratory.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a name="MUMPS"&gt;M (MUMPS)&lt;/a&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://mtechnology.intersys.com/mproducts/openm/"&gt;M technologies&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://207.192.157.194/mdc/"&gt;M[UMPS]  Development Committee&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://mcenter.com/mtrc/whatism.html"&gt;What  is M Technology?&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;ML
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://cm.bell-labs.com/cm/cs/what/smlnj/sml.html"&gt;Standard ML&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://cm.bell-labs.com/cm/cs/what/smlnj/sml97.html"&gt;Standard ML  ’97&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Modula
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://burks.bton.ac.uk/burks/language/modula2/index.htm"&gt;Modula-2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.research.digital.com/SRC/modula-3/html/home.html"&gt;Modula-3  Home Page&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://sc22wg13.twi.tudelft.nl/"&gt;Modula-2  ISO/IEC&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Oberon
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://burks.bton.ac.uk/burks/language/oberon/"&gt;A Brief History of  Oberon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.edm2.com/0608/oberon2.html"&gt;A  Description of the Oberon-2 Language&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www-vs.informatik.uni-ulm.de:81/projekte/Oberon-2.Report/"&gt;The  Programming Language Oberon-2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.oberon.ethz.ch/genealogy.html"&gt;Oberon Language  Genealogy Tree&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a name="ObjC"&gt;Objective-C&lt;/a&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.dekorte.com/Objective-C/"&gt;Objective-C&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.cs.ruu.nl/wais/html/na-dir/Objective-C/answers.html"&gt;Objective-C  FAQ&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/chapter_1_section_1.html"&gt;Introduction  to The Objective-C Programming Language&lt;/a&gt; by &lt;a href="http://www.apple.com/"&gt;Apple&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.foldr.org/%7Emichaelw/objective-c/"&gt;Objective-C: Links,  Resources, Stuff&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Pascal
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="ftp://ftp.digital.com/pub/DEC/Pascal/"&gt;ISO  Pascal&lt;/a&gt; (document)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://burks.bton.ac.uk/burks/language/pascal/index.htm"&gt;Pascal  and Delphi&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Perl
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.perl.com/"&gt;Perl&lt;/a&gt; Home Page&lt;/li&gt;
&lt;li&gt;&lt;a href="http://burks.bton.ac.uk/burks/language/perl/index.htm"&gt;Perl&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.wall.org/%7Elarry/"&gt;Larry  Wall’s Very Own Home Page&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;PHP
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.php.net/"&gt;PHP: Hypertext  Preprocessor&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;PL/I
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.multicians.org/pl1.html"&gt;Multics  PL/I&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www-306.ibm.com/software/awdtools/pli/"&gt;IBM PL/I family&lt;/a&gt; by IBM&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Plankalkül
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://irb.cs.tu-berlin.de/%7Ezuse/Konrad_Zuse/plank.html"&gt;Plankalkül&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;PostScript
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.adobe.com/products/postscript/main.html"&gt;PostScript  level 3&lt;/a&gt; by &lt;a href="http://www.adobe.com/"&gt;Adobe&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.inkguides.com/postscript.asp"&gt;PostScript  GhostScript PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.cs.wisc.edu/%7Eghost/"&gt;GhostScript&lt;/a&gt; Home Page&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Prolog
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.engin.umd.umich.edu/CIS/course.des/cis400/prolog/prolog.html"&gt;Prolog  Programming Language&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://clip.dia.fi.upm.es/%7Evocal/public_info/seminar_notes/node42.html"&gt;The  Prolog Language&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Python
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.python.org/"&gt;Python&lt;/a&gt; Home  Page&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Rexx
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www-306.ibm.com/software/awdtools/rexx/"&gt;IBM REXX Family&lt;/a&gt; by IBM&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.rexxla.org/"&gt;The Rexx  Language Association&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Ruby
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.ruby-lang.org/en/"&gt;Ruby Home  Page&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Ruby_programming_language"&gt;Ruby  programming language&lt;/a&gt; (Wikipedia)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.ruby-doc.org/"&gt;Ruby – doc&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Sail
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://hopl.murdoch.edu.au/showlanguage.prx?exp=528"&gt;Sail  (Stanford Artificial Intelligence Language)&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Sather
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.icsi.berkeley.edu/%7Esather/history.html"&gt;Sather  History&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.icsi.berkeley.edu/%7Esather/"&gt;Sather&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://directory.fsf.org/devel/prog/sather.html"&gt;GNU Sather&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Scheme
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.swiss.ai.mit.edu/projects/scheme/"&gt;Scheme&lt;/a&gt; by MIT&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www-swiss.ai.mit.edu/ftpdir/scheme-reports/r5rs.ps"&gt;The  Revised&lt;sup&gt;5&lt;/sup&gt; Report on the Algorithmic Language  Scheme&lt;/a&gt; (in PostScript)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.schemers.org/"&gt;Schemers&lt;/a&gt; Home Page&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.swiss.ai.mit.edu/%7Ejaffer/SCM.html"&gt;SCM&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Self
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://research.sun.com/self/"&gt;Self Home  Page&lt;/a&gt; from Sun&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Sh
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.in-ulm.de/%7Emascheck/bourne/"&gt;The Traditional Bourne  Shell Family&lt;/a&gt; by Sven Mascheck &lt;img src="http://www.levenez.com/gen/new.png" alt=""&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://kornshell.com/"&gt;Korn Shell&lt;/a&gt; by  David Korn&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.gnu.org/software/bash/bash.html"&gt;Bash&lt;/a&gt; from GNU&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.zsh.org/"&gt;Zsh&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Simula
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.ifi.uio.no/%7Ecim/sim_history.html"&gt;Simula&lt;/a&gt; by Jan  Rune Holmevik&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Smalltalk
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.smalltalk.org/"&gt;Smalltalk&lt;/a&gt; Home Page&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.ipass.net/vmalik/smalltalk.html"&gt;Smalltalk FAQ&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gagne.homedns.org/%7Etgagne/contrib/EarlyHistoryST.html"&gt;The  Early History of Smalltalk&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stic.org/"&gt;The Smalltalk  Industry Council&lt;/a&gt; web site&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www-306.ibm.com/software/awdtools/smalltalk/"&gt;VisualAge  Smalltalk&lt;/a&gt; from IBM&lt;/li&gt;
&lt;li&gt;&lt;a href="http://smalltalk.cincom.com/index.ssp"&gt;VisualWorks&lt;/a&gt; from Cincom&lt;/li&gt;
&lt;li&gt;&lt;a href="http://minnow.cc.gatech.edu/squeak/389"&gt;The  history of Squeak&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://minnow.cc.gatech.edu/squeak/172"&gt;ANSI  Smalltalk&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;SNOBOL
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.snobol4.org/"&gt;Snobol4  Resources&lt;/a&gt; by Phil Budne&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.cs.fit.edu/%7Edclay/cse5040/snobol.html"&gt;Introduction  to SNOBOL Programming Language&lt;/a&gt; by Mohammad Noman Hameed&lt;/li&gt;
&lt;li&gt;&lt;a href="http://burks.bton.ac.uk/burks/language/snobol/index.htm"&gt;Snobol4&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Tcl/Tk
&lt;ul&gt;&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.tcl.tk/"&gt;Tcl/Tk Information&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
		&lt;div id="geo-post-29" class="geo geo-post"&gt;
			&lt;span class="latitude"&gt;17.421585&lt;/span&gt;
			&lt;span class="longitude"&gt;78.451038&lt;/span&gt;
		&lt;/div&gt;&lt;/div&gt;</content>
    <published>2010-07-29T13:08:43Z</published>
    <updated>2010-07-29T13:08:43Z</updated>
    <author>
      <name>Thulasiram S</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://strawthesis.wordpress.com/2010/07/29/computer-languages-history/</id>
  </entry>
  <entry>
    <title>Sending Mail Through Perl</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3361972/sending-mail-through-perl" type="text/html"/>
    <summary>I am using the below code to send an email

#!/usr/bin/perl

sub BEGIN {
        unshift (@INC,'/opt/dev/common/mds/perlLib');
}

use Mail::Sender;

$sender = new Mail::Sender
{smtp =&gt; 'xxx.xxx.x.xx', from =&gt; 'abc@xyz.xom'};
$sender-&gt;MailFile({to =&gt; 'abc@xyz.xom',
subject =&gt; 'Here is the file',
msg =&gt; "I'm sending you the list you wanted."});

$sender-&gt;Close;

But, it is not sending the mail at all. What is wrong in my code?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I am using the below code to send an email</p>

<pre><code>#!/usr/bin/perl

sub BEGIN {
        unshift (@INC,'/opt/dev/common/mds/perlLib');
}

use Mail::Sender;

$sender = new Mail::Sender
{smtp =&gt; 'xxx.xxx.x.xx', from =&gt; 'abc@xyz.xom'};
$sender-&gt;MailFile({to =&gt; 'abc@xyz.xom',
subject =&gt; 'Here is the file',
msg =&gt; "I'm sending you the list you wanted."});

$sender-&gt;Close;
</code></pre>

<p>But, it is not sending the mail at all. What is wrong in my code?</p>

        </div>
    </content>
    <category term="perl"/>
    <published>2010-07-29T11:27:12Z</published>
    <updated>2010-07-29T11:27:12Z</updated>
    <author>
      <name>Flower07</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3361972/sending-mail-through-perl</id>
  </entry>
  <entry>
    <title>java doesnt seem to read my perl piped output intime and is filling up</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3360958/java-doesnt-seem-to-read-my-perl-piped-output-intime-and-is-filling-up" type="text/html"/>
    <summary>I have the following snippet calling a perl script which writes to STDERR
and STDOUT. I've been following the recomended procedures such as auto
flushing the STDOUT and STDERR in the perl script and using streamgobbler
threads. I've noticed this to help my issue in to a degree but at times
where the perl script generates large volumes of output it will still
fill up its pipes and hang. The only thing that seems to stop this adding
the following to my perl script however obviously I would like the output
so this is not an option.

update &gt;&gt;

Another interesting occurence is when I cat the /proc/pid/fd/pipe# in
linux it causes the pipe to be read to be accessed. This seems to dump
the content of the pipe meaning my perl process can again write to it and
thus complete. Must be therefore my java process is not reading the
process output stream properly.

PERL :

close STDOUT 
close STDERR

My java looks like the following

   parserProcess = run.exec(config.getCMDArray(),env);

StreamGobbler errorGobbler = new StreamGobbler(parserProcess.getErrorStream(), "ERROR");

  // any output?
     StreamGobbler outputGobbler = new StreamGobbler(parserProcess.getInputStream(), "OUTPUT");

  // kick them off
     errorGobbler.start();
     outputGobbler.start();

whereby StreamGobbler is -&gt;

class StreamGobbler extends Thread
{
    InputStream is;
    String type;

StreamGobbler(InputStream is, String type)
{
    this.is = is;
    this.type = type;
}

public void run()
{
    try
    {
        InputStreamReader isr = new InputStreamReader(is);
        BufferedReader br = new BufferedReader(isr);
        String line=null;
        while ( (line = br.readLine()) != null)
            System.out.println(type + "&gt;" + line);    
        } catch (IOException ioe)
          {
            ioe.printStackTrace();  
          }
}
}



 String line="";

 status = parserProcess.waitFor();

Thanks in advance</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I have the following snippet calling a perl script which writes to STDERR and STDOUT.
I've been following the recomended procedures such as auto flushing the STDOUT and STDERR in the perl script and using streamgobbler threads. I've noticed this to help my issue in to a degree but at times where the perl script generates large volumes of output it will still fill up its pipes and hang. The only thing that seems to stop this adding the following to my perl script however obviously I would like the output so this is not an option.</p>

<p>update &gt;&gt;</p>

<p>Another interesting occurence is when I cat the /proc/pid/fd/pipe# in linux it causes the pipe to be read to be accessed. This seems to dump the content of the pipe meaning my perl process can again write to it and thus complete.  Must be therefore my java process is not reading the process output stream properly.</p>

<p>PERL :</p>

<pre><code>close STDOUT 
close STDERR
</code></pre>

<p>My java looks like the following</p>

<pre><code>   parserProcess = run.exec(config.getCMDArray(),env);

StreamGobbler errorGobbler = new StreamGobbler(parserProcess.getErrorStream(), "ERROR");

  // any output?
     StreamGobbler outputGobbler = new StreamGobbler(parserProcess.getInputStream(), "OUTPUT");

  // kick them off
     errorGobbler.start();
     outputGobbler.start();
</code></pre>

<p>whereby StreamGobbler is -&gt;</p>

<pre><code>class StreamGobbler extends Thread
{
    InputStream is;
    String type;

StreamGobbler(InputStream is, String type)
{
    this.is = is;
    this.type = type;
}

public void run()
{
    try
    {
        InputStreamReader isr = new InputStreamReader(is);
        BufferedReader br = new BufferedReader(isr);
        String line=null;
        while ( (line = br.readLine()) != null)
            System.out.println(type + "&gt;" + line);    
        } catch (IOException ioe)
          {
            ioe.printStackTrace();  
          }
}
}



 String line="";

 status = parserProcess.waitFor();
</code></pre>

<p>Thanks in advance</p>

        </div>
    </content>
    <category term="java perl pipes"/>
    <published>2010-07-29T09:17:46Z</published>
    <updated>2010-07-29T09:17:46Z</updated>
    <author>
      <name>imerez</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3360958/java-doesnt-seem-to-read-my-perl-piped-output-intime-and-is-filling-up</id>
  </entry>
  <entry>
    <title>How do I process captured output from `tail` without reprocessing?</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3359705/how-do-i-process-captured-output-from-tail-without-reprocessing" type="text/html"/>
    <summary>Hi, I want to excecute a tail command in Unix for indefinite time and
capture its output in a Perl script, process it and store certain data
into a database. But it should be live, meaning old data – once stored in
the database – shouldn't be reprocessed. It should only capture, and
process only the most recent output.

Can someone please tell me how can this be done? Thanks in anticipation.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Hi, I want to excecute a <code>tail</code> command in Unix for indefinite time and capture its output in a Perl script, process it and store certain data into a database. But it should be live, meaning old data – once stored in the database – shouldn't be reprocessed. It should only capture, and process only the most recent output.</p>

<p>Can someone please tell me how can this be done? Thanks in anticipation.</p>

        </div>
    </content>
    <category term="perl unix iostream tail"/>
    <published>2010-07-29T05:31:38Z</published>
    <updated>2010-07-29T05:31:38Z</updated>
    <author>
      <name>awaiskhan200</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3359705/how-do-i-process-captured-output-from-tail-without-reprocessing</id>
  </entry>
  <entry>
    <title>returning a lazily-computed scalar, in perl</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3358914/returning-a-lazily-computed-scalar-in-perl" type="text/html"/>
    <summary>I'm trying to add some functionality to our code base by using tied
scalars.

We have a function which is specified to return scalars. I thought I
could add some features to the system by tie-ing these scalars before
returning them, but it looks like the FETCH method is called just before
the return, which results in an untied scalar being returned.

Is there any way around this?

I really want to keep the subroutine's interface (returning scalars)
intact if it's at all possible.

use strict;
use warnings;
main();

sub GetThing{
    my $thing;
    tie $thing, 'mything', @_;
    return $thing;
}

sub main {
    my %m;
    $m{pre} = GetThing('Fred');
    print "1\n";
    print $m{pre};
    print "2\n";
    print $m{pre};
    print "3\n";
}


package mything;
require Tie::Scalar;

my @ISA = qw(Tie::StdScalar);

sub TIESCALAR {
    my $class  = shift;
    bless {
        name    =&gt; shift || 'noname',
    }, $class;
}

sub FETCH {
    my $self = shift;
    print "ACCESS ALERT!\n";
    return "    NAME: '$self-&gt;{name}'\n";
}

Desired output:

1
ACCESS ALERT!
    NAME: 'Fred'
2
ACCESS ALERT!
    NAME: 'Fred'
3

I can get the desired output by returning a reference, and dereferencing
on each access, but that ruins our established interface, and makes it
more confusing for our users.

--Buck</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I'm trying to add some functionality to our code base by using tied scalars.</p>

<p>We have a function which is specified to return scalars. I thought I could add some features to the system by tie-ing these scalars before returning them, but it looks like the FETCH method is called just before the return, which results in an untied scalar being returned.</p>

<p>Is there any way around this?</p>

<p>I really want to keep the subroutine's interface (returning scalars) intact if it's at all possible.</p>

<pre><code>use strict;
use warnings;
main();

sub GetThing{
    my $thing;
    tie $thing, 'mything', @_;
    return $thing;
}

sub main {
    my %m;
    $m{pre} = GetThing('Fred');
    print "1\n";
    print $m{pre};
    print "2\n";
    print $m{pre};
    print "3\n";
}


package mything;
require Tie::Scalar;

my @ISA = qw(Tie::StdScalar);

sub TIESCALAR {
    my $class  = shift;
    bless {
        name    =&gt; shift || 'noname',
    }, $class;
}

sub FETCH {
    my $self = shift;
    print "ACCESS ALERT!\n";
    return "    NAME: '$self-&gt;{name}'\n";
}
</code></pre>

<p>Desired output:</p>

<pre><code>1
ACCESS ALERT!
    NAME: 'Fred'
2
ACCESS ALERT!
    NAME: 'Fred'
3
</code></pre>

<p>I can get the desired output by returning a reference, and dereferencing on each access, but that ruins our established interface, and makes it more confusing for our users.</p>

<p>--Buck</p>

        </div>
    </content>
    <category term="perl fetch scalar tie"/>
    <published>2010-07-29T01:50:52Z</published>
    <updated>2010-07-29T01:50:52Z</updated>
    <author>
      <name>bukzor</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3358914/returning-a-lazily-computed-scalar-in-perl</id>
  </entry>
  <entry>
    <title>Monster perl regex</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3357263/monster-perl-regex" type="text/html"/>
    <summary>I'm trying to change strings like this:

&lt;a href='../Example/case23.html'&gt;&lt;img src='Blablabla.jpg'

To this:

&lt;a href='../Example/case23.html'&gt;&lt;img src='&lt;?php imgname('case23'); ?&gt;'

And I've got this monster of a regular expression:

find . -type f | xargs perl -pi -e \
  's/&lt;a href=\'(.\.\.\/Example\/)(case\d\d)(.\.html\'&gt;&lt;img src=\')*\'/\1\2\3&lt;\?php imgname\(\'\2\'); \?&gt;\'/'

But it isn't working. In fact, I think it's a problem with Bash, which
could probably be pointed out rather quickly.

r: line 4: syntax error near unexpected token `('
r: line 4: `  's/&lt;a href=\'(.\.\.\/Example\/)(case\d\d)(.\.html\'&gt;&lt;img src=\')*\'/\1\2\3&lt;\?php imgname\(\'\2\'); \?&gt;\'/''

But if you want to help me with the regular expression that'd be cool,
too!</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>I'm trying to change strings like this:</p>

<pre><code>&lt;a href='../Example/case23.html'&gt;&lt;img src='Blablabla.jpg'
</code></pre>

<p>To this:</p>

<pre><code>&lt;a href='../Example/case23.html'&gt;&lt;img src='&lt;?php imgname('case23'); ?&gt;'
</code></pre>

<p>And I've got this monster of a regular expression:</p>

<pre><code>find . -type f | xargs perl -pi -e \
  's/&lt;a href=\'(.\.\.\/Example\/)(case\d\d)(.\.html\'&gt;&lt;img src=\')*\'/\1\2\3&lt;\?php imgname\(\'\2\'); \?&gt;\'/'
</code></pre>

<p>But it isn't working. In fact, I think it's a problem with Bash, which could probably be pointed out rather quickly.</p>

<pre><code>r: line 4: syntax error near unexpected token `('
r: line 4: `  's/&lt;a href=\'(.\.\.\/Example\/)(case\d\d)(.\.html\'&gt;&lt;img src=\')*\'/\1\2\3&lt;\?php imgname\(\'\2\'); \?&gt;\'/''
</code></pre>

<p>But if you want to help me with the regular expression that'd be cool, too!</p>

        </div>
    </content>
    <category term="regex perl bash"/>
    <published>2010-07-28T20:34:08Z</published>
    <updated>2010-07-28T20:34:08Z</updated>
    <author>
      <name>nnyby</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3357263/monster-perl-regex</id>
  </entry>
  <entry>
    <title>Perl humor - the 5 oneLiners</title>
    <link rel="alternate" href="http://poisonbit.wordpress.com/2010/07/28/perl-humor-the-5-oneliners/" type="text/html"/>
    <summary>&amp;#8220;Perl oneliner&amp;#8221; is the direct usage of the Perl interpreter at the command line, mostly </summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">“Perl oneliner” is the direct usage of the Perl interpreter at the command line, mostly </div>
    </content>
    <published>2010-07-28T15:51:04Z</published>
    <updated>2010-07-28T15:51:04Z</updated>
    <author>
      <name>poisonbit</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://poisonbit.wordpress.com/2010/07/28/perl-humor-the-5-oneliners/</id>
  </entry>
  <entry>
    <title>perl + identify if param is empty value from ARG</title>
    <link rel="alternate" href="http://stackoverflow.com/questions/3341703/perl-identify-if-param-is-empty-value-from-arg" type="text/html"/>
    <summary>Hi all,

when I run the following script.pl script with no arguments:

./script.pl

I do not get the message No arg. Why? How to identify if $param is a null
value or empty value, same as [ -z from ksh?

#!/usr/bin/perl
my $param = $ARGV[0];
if ($param = "") {
    print No arg;
} else {
    print arg: $param;
}</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Hi all,</p>

<p>when I run the following script.pl script with no arguments:</p>

<pre><code>./script.pl
</code></pre>

<p>I do not get the message <code>No arg</code>. Why? How to identify if <code>$param</code> is a null value or empty value, same as <code>[ -z</code> from ksh?</p>

<pre><code>#!/usr/bin/perl
my $param = $ARGV[0];
if ($param = "") {
    print No arg;
} else {
    print arg: $param;
}
</code></pre>

        </div>
    </content>
    <category term="perl"/>
    <published>2010-07-27T08:07:15Z</published>
    <updated>2010-07-27T08:07:15Z</updated>
    <author>
      <name>lidia</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://stackoverflow.com/questions/3341703/perl-identify-if-param-is-empty-value-from-arg</id>
  </entry>
  <entry>
    <title>socket connection with perl</title>
    <link rel="alternate" href="http://my.opera.com/chenghan/blog/2010/06/16/socket-connection-with-perl" type="text/html"/>
    <summary>#!/usr/bin/perl use IO::Socket; $remote_host="www.ap.ntdtv.com"; $remote_port="80"; #$socket = IO::Socket::INET-&gt;new("$remote_host:$remote_port"); #print "$socket\n"; #or die "Can't connect!!: $!\n" ; $socket = IO::Socket::INET-&gt;new( Proto =&gt; ......</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">#!/usr/bin/perl use IO::Socket; $remote_host="www.ap.ntdtv.com"; $remote_port="80"; #$socket = IO::Socket::INET-&gt;new("$remote_host:$remote_port"); #print "$socket\n"; #or die "Can't connect!!: $!\n" ; $socket = IO::Socket::INET-&gt;new( Proto =&gt; ......</div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>chenghan</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/chenghan/blog/2010/06/16/socket-connection-with-perl</id>
  </entry>
  <entry>
    <title>Perl Webmin Bug FreeBSD 8.0</title>
    <link rel="alternate" href="http://my.opera.com/linuxonlinehelp/blog/perl-webmin-bug-freebsd-8-0" type="text/html"/>
    <summary>System FreeBSD 8.0 R3 AMD64 Webmin 1.510 Perl 5.8.9 Webmin-Log: symbol "sdbm_open" - do portupgrade -f webmin - do portupgrade -f perl - do perl-after-upgrade -f (to update all deps of Perl) </summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">System FreeBSD 8.0 R3 AMD64 Webmin 1.510 Perl 5.8.9 Webmin-Log: symbol "sdbm_open" - do portupgrade -f webmin - do portupgrade -f perl - do perl-after-upgrade -f (to update all deps of Perl) </div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>linuxonlinehelp</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/linuxonlinehelp/blog/perl-webmin-bug-freebsd-8-0</id>
  </entry>
  <entry>
    <title>Installing Nictool On CentOS 5</title>
    <link rel="alternate" href="http://my.opera.com/thanhtungict/blog/2010/07/12/installing-nictool-on-centos-5" type="text/html"/>
    <summary>What is Nictool? Nictool is a free software for managing DNS, but for download we have to register at www.nictool.com; Nictool can export from djbdns, BIND, PowerDNS. All data is stored in MySQL and can be managed over the web using a browser. This tutor ......</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">What is Nictool? Nictool is a free software for managing DNS, but for download we have to register at www.nictool.com; Nictool can export from djbdns, BIND, PowerDNS. All data is stored in MySQL and can be managed over the web using a browser. This tutor ......</div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>thanhtungict</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/thanhtungict/blog/2010/07/12/installing-nictool-on-centos-5</id>
  </entry>
  <entry>
    <title>LWP::Simple for Perl 6, now with (partial) BasicAuth support and getstore()</title>
    <link rel="alternate" href="http://my.opera.com/cstrep/blog/2010/06/27/lwp-simple-for-perl-6-now-with-partial-basicauth-support-and-getstore" type="text/html"/>
    <summary>I just pushed out another update for the LWP::Simple module for Perl 6. This time, the main work was: refactoring the code and adding unit tests for the URL parsing (that might even grow into a Perl 6 URI module adding partial basic auth support. To ......</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">I just pushed out another update for the LWP::Simple module for Perl 6. This time, the main work was: refactoring the code and adding unit tests for the URL parsing (that might even grow into a Perl 6 URI module adding partial basic auth support. To ......</div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>cstrep</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/cstrep/blog/2010/06/27/lwp-simple-for-perl-6-now-with-partial-basicauth-support-and-getstore</id>
  </entry>
  <entry>
    <title>"DebPAN", a production-grade Debian CPAN repository</title>
    <link rel="alternate" href="http://my.opera.com/cstrep/blog/2010/07/06/debpan-a-production-grade-debian-cpan-repository" type="text/html"/>
    <summary>The problem This is a proposal I came up with after talking to Gabor Szabo about his Perl Ecosystem Development proposal . One of the major "problems" we face while developing and deploying production Perl-based systems with Debian is that the state ......</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">The problem This is a proposal I came up with after talking to Gabor Szabo about his Perl Ecosystem Development proposal . One of the major "problems" we face while developing and deploying production Perl-based systems with Debian is that the state ......</div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>cstrep</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/cstrep/blog/2010/07/06/debpan-a-production-grade-debian-cpan-repository</id>
  </entry>
  <entry>
    <title>REBOL にハマる</title>
    <link rel="alternate" href="http://my.opera.com/narum/blog/2010/07/06/rebol" type="text/html"/>
    <summary>もうですね、いまさら新言語（というほど新しくはないんだけど…）に食指が伸びるような時代でもないんですが、あまりに異質だったので思わずダウンロードして電卓のサンプルを実行…ビックリしましたね。サンプルソースの怪しいまでの簡潔さとかそういうのもあるんですが、何よりも実行環境のサイズが小さく（800k）、スピードが速い。「うそだろこれー！」って感じでした。 作者のカール・サセンラスは、Wikipedia で調べたところ Amiga OS の設計者。なるほどね、軽さ第一の哲学なわけだ。もう、久々にハマる予感です ......</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">もうですね、いまさら新言語（というほど新しくはないんだけど…）に食指が伸びるような時代でもないんですが、あまりに異質だったので思わずダウンロードして電卓のサンプルを実行…ビックリしましたね。サンプルソースの怪しいまでの簡潔さとかそういうのもあるんですが、何よりも実行環境のサイズが小さく（800k）、スピードが速い。「うそだろこれー！」って感じでした。 作者のカール・サセンラスは、Wikipedia で調べたところ Amiga OS の設計者。なるほどね、軽さ第一の哲学なわけだ。もう、久々にハマる予感です ......</div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>narum</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/narum/blog/2010/07/06/rebol</id>
  </entry>
  <entry>
    <title>Dependencies suck</title>
    <link rel="alternate" href="http://my.opera.com/cstrep/blog/2010/06/22/dependencies-suck" type="text/html"/>
    <summary>We love dependencies. For example, in the CPAN universe . They make our job so damn easier. Thousands of production quality, unit tested modules at your fingertips. But dependencies also suck really badly, for example when you're using a Linux distribu ......</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">We love dependencies. For example, in the CPAN universe . They make our job so damn easier. Thousands of production quality, unit tested modules at your fingertips. But dependencies also suck really badly, for example when you're using a Linux distribu ......</div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>cstrep</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/cstrep/blog/2010/06/22/dependencies-suck</id>
  </entry>
  <entry>
    <title>-- List Free Host Part I --</title>
    <link rel="alternate" href="http://my.opera.com/softlenhan/blog/list-free-host-2" type="text/html"/>
    <summary> www.1AspHost.com ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"> www.1AspHost.com ...</div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>softlenhan</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/softlenhan/blog/list-free-host-2</id>
  </entry>
  <entry>
    <title>Perl 6 LWP::Simple gets chunked transfers support</title>
    <link rel="alternate" href="http://my.opera.com/cstrep/blog/2010/07/11/perl-6-lwp-simple-gets-chunked-transfers-support" type="text/html"/>
    <summary>With this one I think we're basically done! Perl6 LWP::Simple gets chunked transfers support . It's probably not excellent or universally working, but for the examples I could try and test, it's totally fine. If you find some URLs where it's broken, pl ......</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">With this one I think we're basically done! Perl6 LWP::Simple gets chunked transfers support . It's probably not excellent or universally working, but for the examples I could try and test, it's totally fine. If you find some URLs where it's broken, pl ......</div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>cstrep</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/cstrep/blog/2010/07/11/perl-6-lwp-simple-gets-chunked-transfers-support</id>
  </entry>
  <entry>
    <title>Perl6 hacking, grammars, Digest::MD5 and caffeine levels</title>
    <link rel="alternate" href="http://my.opera.com/cstrep/blog/perl6-hacking-grammars-digest-md5-and-caffeine-levels" type="text/html"/>
    <summary>I'll be brief. Need some sleep. :) Perl 6 is here. Now. And there's an immense work waiting to be done: rewriting Perl5's CPAN. Ain't that easy? :) Anyway, during last couple of weeks, I spent most of my spare time playing with Perl 6: learning ho ......</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">I'll be brief. Need some sleep. :) Perl 6 is here. Now. And there's an immense work waiting to be done: rewriting Perl5's CPAN. Ain't that easy? :) Anyway, during last couple of weeks, I spent most of my spare time playing with Perl 6: learning ho ......</div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>cstrep</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/cstrep/blog/perl6-hacking-grammars-digest-md5-and-caffeine-levels</id>
  </entry>
  <entry>
    <title>Digest::MD5 for Perl 6 finally works!</title>
    <link rel="alternate" href="http://my.opera.com/cstrep/blog/2010/06/29/digest-md5-for-perl-6-finally-works" type="text/html"/>
    <summary>It took me an awful long time, and lots of help from the folks on #parrot and #perl6 but in the end, it's done! It needs a tiny patch to Parrot , but I believe it will be added to the next parrot release. I tried to documented the fixes to the code to ......</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">It took me an awful long time, and lots of help from the folks on #parrot and #perl6 but in the end, it's done! It needs a tiny patch to Parrot , but I believe it will be added to the next parrot release. I tried to documented the fixes to the code to ......</div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>cstrep</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/cstrep/blog/2010/06/29/digest-md5-for-perl-6-finally-works</id>
  </entry>
  <entry>
    <title>Perl community, you have to see this</title>
    <link rel="alternate" href="http://my.opera.com/cstrep/blog/2010/06/25/perl-community-you-have-to-see-this" type="text/html"/>
    <summary>Since there has been a lot of discussions around "marketing" in the Perl Community, I think you should check this out. Java 4 ever trailer (from http://jz10.java.no/java-4-ever-trailer.html ) ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Since there has been a lot of discussions around "marketing" in the Perl Community, I think you should check this out. Java 4 ever trailer (from http://jz10.java.no/java-4-ever-trailer.html ) ...</div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>cstrep</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/cstrep/blog/2010/06/25/perl-community-you-have-to-see-this</id>
  </entry>
  <entry>
    <title>Perl 6 is out! Erm... sort of</title>
    <link rel="alternate" href="http://my.opera.com/marcomarongiu/blog/2010/07/29/perl-6-is-out-erm-sort-of" type="text/html"/>
    <summary> Nota per gli Italiani: date un'occhiata all'annuncio sul sito Perl.it. OK, it is not the great day that we all Perlers are longing to see, but it's definitely a notable one. The Rakudo and Perl 6 development teams have just announced the release of Ra ......</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"> Nota per gli Italiani: date un'occhiata all'annuncio sul sito Perl.it. OK, it is not the great day that we all Perlers are longing to see, but it's definitely a notable one. The Rakudo and Perl 6 development teams have just announced the release of Ra ......</div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>marcomarongiu</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/marcomarongiu/blog/2010/07/29/perl-6-is-out-erm-sort-of</id>
  </entry>
  <entry>
    <title>-- List Free Host Part II --</title>
    <link rel="alternate" href="http://my.opera.com/softlenhan/blog/list-free-host" type="text/html"/>
    <summary> www.1AspHost.com ...</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"> www.1AspHost.com ...</div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>softlenhan</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/softlenhan/blog/list-free-host</id>
  </entry>
  <entry>
    <title>Stawberry perl forever</title>
    <link rel="alternate" href="http://my.opera.com/anibal784/blog/2010/07/12/stawberry-perl-forever" type="text/html"/>
    <summary>Como winDOS me cae pesado, lo putié y lo dejé. Hoy me dirijo a la página del lenguaje The Perl Programming language y voy a buscar la descarga del ejecutable que va a instalar el lenguaje más desprestigiado del mundo... perl2 . Me reí cuando llegué a la p ......</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Como winDOS me cae pesado, lo putié y lo dejé. Hoy me dirijo a la página del lenguaje The Perl Programming language y voy a buscar la descarga del ejecutable que va a instalar el lenguaje más desprestigiado del mundo... perl2 . Me reí cuando llegué a la p ......</div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>anibal784</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/anibal784/blog/2010/07/12/stawberry-perl-forever</id>
  </entry>
  <entry>
    <title>ctags 로 perl 소스분석</title>
    <link rel="alternate" href="http://my.opera.com/aanoaa/blog/2010/07/18/ctags-perl" type="text/html"/>
    <summary> perl -V 하면 젤 밑에 나의 @INC 가 나온다. @INC: /home/hshong/perl5/perlbrew/perls/perl-5.12.0/lib/site_perl/5.12.0/i686-linux-thread-multi /home/hshong/perl5/perlbrew/perls/perl-5.12.0/lib/site_perl/5.12.0 /home/hshong/perl5/perlbrew/perls/p ......</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"> perl -V 하면 젤 밑에 나의 @INC 가 나온다. @INC: /home/hshong/perl5/perlbrew/perls/perl-5.12.0/lib/site_perl/5.12.0/i686-linux-thread-multi /home/hshong/perl5/perlbrew/perls/perl-5.12.0/lib/site_perl/5.12.0 /home/hshong/perl5/perlbrew/perls/p ......</div>
    </content>
    <category term="perl opera"/>
    <author>
      <name>aanoaa</name>
    </author>
    <id>tag:desert-island.me.uk,2006:http://my.opera.com/aanoaa/blog/2010/07/18/ctags-perl</id>
  </entry>
</feed>
