<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dcterms="http://purl.org/rss/1.0/modules/dcterms/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <generator>Plagger/0.7.17</generator>
    <link>http://desert-island.me.uk:8888/~castaway/perl-signals/</link>
    <description>Everything Perl from the Web</description>
    <title>Perl Signals Aggregator</title>
    <pubDate>Fri, 30 Jul 2010 05:12:44 +0100</pubDate>
    <item>
      <author>nobody@example.com (domainhostingtech)</author>
      <dc:creator>nobody@example.com (domainhostingtech)</dc:creator>
      <link>http://cynthiabarbouronline.com/webhosting/?p=704</link>
      <description>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 ...</description>
      <dc:date>2010-07-30T03:48:34Z</dc:date>
      <title>Web Applications Used For Creation Dynamic Sites. | Reliable ...</title>
      <pubDate>Fri, 30 Jul 2010 03:48:34 -0000</pubDate>
      <content:encoded>The first web applications for creation dynamic  sites were separate modules CGI (scripts, created mainly in the language &lt;b&gt;Perl&lt;/b&gt;), which were executed on the server. CGI-scripts are ordinary programs. The result of module implementation is ...</content:encoded>
      <dcterms:modified>2010-07-30T03:48:34Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:cynthiabarbouronline.com,2010-07-30:/webhosting/?p=704/</guid>
    </item>
    <item>
      <author>nobody@example.com (unknown)</author>
      <dc:creator>nobody@example.com (unknown)</dc:creator>
      <link>http://www.spinics.net/lists/git/msg136480.html</link>
      <description>+ 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 ...</description>
      <dc:date>2010-07-30T02:30:20Z</dc:date>
      <title>Re: [PATCH] git svn: add an option to recode pathnames -- Git</title>
      <pubDate>Fri, 30 Jul 2010 02:30:20 -0000</pubDate>
      <content:encoded>+ Valid encodings are the ones supported by &lt;b&gt;Perl's&lt;/b&gt; 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 ...</content:encoded>
      <dcterms:modified>2010-07-30T02:30:20Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:www.spinics.net,2010-07-30:/lists/git/msg136480.html/</guid>
    </item>
    <item>
      <author>nobody@example.com (Ruben)</author>
      <dc:creator>nobody@example.com (Ruben)</dc:creator>
      <link>http://rubenerd.com/perl-6-rakudo-star/</link>
      <description>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 ...</description>
      <dc:date>2010-07-30T02:15:11Z</dc:date>
      <title>Rubénerd ツ – Perl 6 Rakudo Star</title>
      <pubDate>Fri, 30 Jul 2010 02:15:11 -0000</pubDate>
      <content:encoded>My first job out of high school was writing &lt;b&gt;Perl&lt;/b&gt; programs. Was the happiest time of my life, because university hadn't crushed my spirit yet. &lt;b&gt;Perl&lt;/b&gt; is awesome. CPAN is awesome! And don't believe what they say, it is possible to write ...</content:encoded>
      <dcterms:modified>2010-07-30T02:15:11Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:rubenerd.com,2010-07-30:/perl-6-rakudo-star//</guid>
    </item>
    <item>
      <author>nobody@example.com (HorseArcher)</author>
      <dc:creator>nobody@example.com (HorseArcher)</dc:creator>
      <link>http://www.howtoforge.com/forums/showthread.php?t=47632</link>
      <description>... 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 ...</description>
      <dc:date>2010-07-30T02:11:09Z</dc:date>
      <title>Ubuntu 9.04 [ISPConfig 3] - Step 12: Broken packages: sendmail ...</title>
      <pubDate>Fri, 30 Jul 2010 02:11:09 -0000</pubDate>
      <content:encoded>... getmail4 libdbd-mysql-&lt;b&gt;perl&lt;/b&gt;{a} libdbi-&lt;b&gt;perl&lt;/b&gt;{a} libgamin0{a} libhtml-template-&lt;b&gt;perl&lt;/b&gt;{a} libmd5-&lt;b&gt;perl&lt;/b&gt;{a} libnet-daemon-&lt;b&gt;perl&lt;/b&gt;{a} libpam-mysql libplrpc-&lt;b&gt;perl&lt;/b&gt;{a} libsasl2-modules-sql libsqlite0{a} libterm-readkey-&lt;b&gt;perl&lt;/b&gt;{a} maildrop mysql-client ...</content:encoded>
      <dcterms:modified>2010-07-30T02:11:09Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:www.howtoforge.com,2010-07-30:/forums/showthread.php?t=47632/</guid>
    </item>
    <item>
      <author>nobody@example.com (admin)</author>
      <dc:creator>nobody@example.com (admin)</dc:creator>
      <link>http://webhosting4free.tk/web-hosting-checklist-never-miss-a-thing/</link>
      <description>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 ...</description>
      <dc:date>2010-07-29T15:47:26-10:00</dc:date>
      <title>Web Hosting Checklist – Never Miss a Thing | Free Host Directory</title>
      <pubDate>Thu, 29 Jul 2010 15:47:26 -1000</pubDate>
      <content:encoded>If you do not have &lt;b&gt;Perl&lt;/b&gt;, you cannot run &lt;b&gt;Perl&lt;/b&gt; Programs. Many good scripts that you buy or get for free are written in &lt;b&gt;Perl&lt;/b&gt;. In my opinion, it would be a limitation not to have the latest version of &lt;b&gt;Perl&lt;/b&gt; installed ...</content:encoded>
      <dcterms:modified>2010-07-29T15:47:26-10:00</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:webhosting4free.tk,2010-07-30:/web-hosting-checklist-never-miss-a-thing//</guid>
    </item>
    <item>
      <author>nobody@example.com (Steve Ivy)</author>
      <dc:creator>nobody@example.com (Steve Ivy)</dc:creator>
      <category>php perl rsa crypt</category>
      <link>http://stackoverflow.com/questions/3368137/how-can-i-create-a-cryptrsa-object-from-modulus-exponent-and-private-exponent</link>
      <description>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.</description>
      <dc:date>2010-07-30T01:18:57Z</dc:date>
      <dc:subject>php perl rsa crypt</dc:subject>
      <title>How can I create a Crypt::RSA object from modulus, exponent, and private exponent?</title>
      <pubDate>Fri, 30 Jul 2010 01:18:57 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;I'm trying to port the following php functionality over to perl:&lt;/p&gt;

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

    // snip...
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I need to convert a string in the form ("RSA.$mod.$exp.$private_exp"):&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;RSA.mVgY8RN6URBTstndvmUUPb4UZTdwvwmddSKE5z_jvKUEK6yk1u3rrC9yN8k6FilGj9K0eeUPe2hf4Pj-5CmHww==.AQAB.Lgy_yL3hsLBngkFdDw1Jy9TmSRMiH6yihYetQ8jy-jZXdsZXd8V5ub3kuBHHk4M39i3TduIkcrjcsiWQb77D8Q==
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;...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.&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-30T01:18:57Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3368137/how-can-i-create-a-cryptrsa-object-from-modulus-exponent-and-private-exponent</guid>
    </item>
    <item>
      <author>nobody@example.com (admin)</author>
      <dc:creator>nobody@example.com (admin)</dc:creator>
      <link>http://techblog.geeksqueal.com/2010/07/29/is-the-blog-battle-lost-to-php/</link>
      <description>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 ...</description>
      <dc:date>2010-07-30T00:34:46Z</dc:date>
      <title>Is The “Blog Battle” Lost To PHP? « Clockwork Zeppelin</title>
      <pubDate>Fri, 30 Jul 2010 00:34:46 -0000</pubDate>
      <content:encoded>I went looking for a list of blog software written in &lt;b&gt;Perl&lt;/b&gt; 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 ...</content:encoded>
      <dcterms:modified>2010-07-30T00:34:46Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:techblog.geeksqueal.com,2010-07-30:/2010/07/29/is-the-blog-battle-lost-to-php//</guid>
    </item>
    <item>
      <author>nobody@example.com (dskoll)</author>
      <dc:creator>nobody@example.com (dskoll)</dc:creator>
      <link>http://lwn.net/Articles/398043/rss</link>
      <description>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 ...</description>
      <dc:date>2010-07-30T00:16:53Z</dc:date>
      <title>Wow. [LWN.net]</title>
      <pubDate>Fri, 30 Jul 2010 00:16:53 -0000</pubDate>
      <content:encoded>Let's assume that the final &lt;b&gt;Perl&lt;/b&gt; 6 release is N times larger than &lt;b&gt;Perl&lt;/b&gt; 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 ...</content:encoded>
      <dcterms:modified>2010-07-30T00:16:53Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:lwn.net,2010-07-30:/Articles/398043/rss/</guid>
    </item>
    <item>
      <author>nobody@example.com (pkgsrc-users@NetBSD.org)</author>
      <dc:creator>nobody@example.com (pkgsrc-users@NetBSD.org)</dc:creator>
      <link>http://pkgsrc.se/devel/p5-Test-Script-Run</link>
      <description>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. ...</description>
      <dc:date>2010-07-30T02:10:58+02:00</dc:date>
      <title>devel/p5-Test-Script-Run - pkgsrc.se | The NetBSD package collection</title>
      <pubDate>Fri, 30 Jul 2010 02:10:58 +0200</pubDate>
      <content:encoded>Log message: Initial import of p5-Test-Script-Run version 0.04 in the NetBSD Packages Collection. The &lt;b&gt;Perl&lt;/b&gt; 5 module Test::Script::Run exports some subs to help test and run scripts in your dist's  bin/ directory. ...</content:encoded>
      <dcterms:modified>2010-07-30T02:10:58+02:00</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:pkgsrc.se,2010-07-30:/devel/p5-Test-Script-Run/</guid>
    </item>
    <item>
      <author>nobody@example.com (pkgsrc-users@NetBSD.org)</author>
      <dc:creator>nobody@example.com (pkgsrc-users@NetBSD.org)</dc:creator>
      <link>http://pkgsrc.se/www/p5-WWW-Mechanize-GZip</link>
      <description>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 ...</description>
      <dc:date>2010-07-30T02:06:08+02:00</dc:date>
      <title>www/p5-WWW-Mechanize-GZip - pkgsrc.se | The NetBSD package collection</title>
      <pubDate>Fri, 30 Jul 2010 02:06:08 +0200</pubDate>
      <content:encoded>The &lt;b&gt;Perl&lt;/b&gt; 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 ...</content:encoded>
      <dcterms:modified>2010-07-30T02:06:08+02:00</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:pkgsrc.se,2010-07-30:/www/p5-WWW-Mechanize-GZip/</guid>
    </item>
    <item>
      <author>nobody@example.com (unknown)</author>
      <dc:creator>nobody@example.com (unknown)</dc:creator>
      <link>http://www.globalmoneyportal.com/ecademyschool-social-media-those-first-few-steps-mark-perl-a52088.html</link>
      <description>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 ...</description>
      <dc:date>2010-07-30T00:00:00Z</dc:date>
      <title>#ecademyschool Social Media - Those first few steps [Mark Perl ...</title>
      <pubDate>Fri, 30 Jul 2010 00:00:00 -0000</pubDate>
      <content:encoded>ecademyschool Social Media - Those first few steps [Mark &lt;b&gt;Perl&lt;/b&gt;] - international banking and finance news analysis. Compare international banking solutions. Practical information and analysis... #ecademyschool Social Media - Those first ...</content:encoded>
      <dcterms:modified>2010-07-30T00:00:00Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:www.globalmoneyportal.com,2010-07-30:/ecademyschool-social-media-those-first-few-steps-mark-perl-a52088.html/</guid>
    </item>
    <item>
      <author>nobody@example.com (lizzinger1234)</author>
      <dc:creator>nobody@example.com (lizzinger1234)</dc:creator>
      <link>http://rapidsharegarden.org/84416-network-programming-with-perl-by-lincoln-d-stein.html</link>
      <description>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.</description>
      <dc:date>2010-07-29T23:43:02Z</dc:date>
      <title>Network Programming with Perl By Lincoln D. Stein » Rapidshare ...</title>
      <pubDate>Thu, 29 Jul 2010 23:43:02 -0000</pubDate>
      <content:encoded>Network Programming with &lt;b&gt;Perl&lt;/b&gt; By Lincoln D. Stein Publisher: Addison-Wesley Professional 2001 | 784 Pages | ISBN: 0201615711 | CHM | 10 MB Network programming--the term had a distinct meani.</content:encoded>
      <dcterms:modified>2010-07-29T23:43:02Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:rapidsharegarden.org,2010-07-29:/84416-network-programming-with-perl-by-lincoln-d-stein.html/</guid>
    </item>
    <item>
      <author>nobody@example.com (King)</author>
      <dc:creator>nobody@example.com (King)</dc:creator>
      <link>http://midsofts.com/archives/perl-6-releases.html</link>
      <description>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.</description>
      <dc:date>2010-07-29T23:19:16Z</dc:date>
      <title>Perl 6 Releases | MidSofts.COM</title>
      <pubDate>Thu, 29 Jul 2010 23:19:16 -0000</pubDate>
      <content:encoded>Announce: Rakudo Star - a useful, usable, "early adopter" distribution of &lt;b&gt;Perl&lt;/b&gt; 6 On behalf of the Rakudo and &lt;b&gt;Perl&lt;/b&gt; 6 development teams, I'm happy to.</content:encoded>
      <dcterms:modified>2010-07-29T23:19:16Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:midsofts.com,2010-07-29:/archives/perl-6-releases.html/</guid>
    </item>
    <item>
      <author>nobody@example.com (admin)</author>
      <dc:creator>nobody@example.com (admin)</dc:creator>
      <link>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/</link>
      <description>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 ...</description>
      <dc:date>2010-07-29T22:32:11Z</dc:date>
      <title>ActiveState supports next version of SOAP technology: Developers ...</title>
      <pubDate>Thu, 29 Jul 2010 22:32:11 -0000</pubDate>
      <content:encoded>ActiveState believes in the open source and &lt;b&gt;Perl&lt;/b&gt; 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 ...</content:encoded>
      <dcterms:modified>2010-07-29T22:32:11Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,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//</guid>
    </item>
    <item>
      <author>nobody@example.com (jaedre619)</author>
      <dc:creator>nobody@example.com (jaedre619)</dc:creator>
      <category>regex perl csv</category>
      <link>http://stackoverflow.com/questions/3367497/perl-how-to-regex-parts-of-data-instead-of-entire-string-and-then-print-out-a-csv</link>
      <description>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</description>
      <dc:date>2010-07-29T22:31:45Z</dc:date>
      <dc:subject>regex perl csv</dc:subject>
      <title>perl how to regex parts of data instead of entire string and then print out a csv file</title>
      <pubDate>Thu, 29 Jul 2010 22:31:45 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;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 &lt;strong&gt;generate a data file (csv, tab dellimited, any delimiter file)&lt;/strong&gt;. 
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.&lt;/p&gt;

&lt;p&gt;I need a good example of this or suggestions to alter this code. Thank you in advance. :-)&lt;/p&gt;

&lt;p&gt;Here's my code:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;#!/usr/bin/perl -w
# Usage: ./bakstatinfo.pl Jul 28 2010 /var/log/mybackup.log &amp;lt;server1&amp;gt; &amp;lt;server2&amp;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 = &amp;lt;$fh&amp;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);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;My working output now:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;===================================================================================
[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
&lt;/code&gt;&lt;/pre&gt;

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

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

        </content:encoded>
      <dcterms:modified>2010-07-29T22:31:45Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3367497/perl-how-to-regex-parts-of-data-instead-of-entire-string-and-then-print-out-a-csv</guid>
    </item>
    <item>
      <author>nobody@example.com (Vitor Py)</author>
      <dc:creator>nobody@example.com (Vitor Py)</dc:creator>
      <category>perl perl6</category>
      <link>http://stackoverflow.com/questions/3367226/learning-perl-which-version</link>
      <description>I've been thinking about learning Perl. Should I learn Perl5 or start
with Perl6?</description>
      <dc:date>2010-07-29T21:48:21Z</dc:date>
      <dc:subject>perl perl6</dc:subject>
      <title>Learning Perl - Which version?</title>
      <pubDate>Thu, 29 Jul 2010 21:48:21 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;I've been thinking about learning Perl. Should I learn Perl5 or start with Perl6?&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T21:48:21Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3367226/learning-perl-which-version</guid>
    </item>
    <item>
      <author>nobody@example.com (fennec)</author>
      <dc:creator>nobody@example.com (fennec)</dc:creator>
      <category>perl scalar ranges flip-flop</category>
      <link>http://stackoverflow.com/questions/3367182/calling-scalar-on-the-results-of-the-range-operator-in-perl</link>
      <description>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</description>
      <dc:date>2010-07-29T21:42:36Z</dc:date>
      <dc:subject>perl scalar ranges flip-flop</dc:subject>
      <title>Calling 'scalar' on the results of the range operator (..) in Perl</title>
      <pubDate>Thu, 29 Jul 2010 21:42:36 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;So, I believe this has something to do with the difference between arrays and lists, but I don't &lt;em&gt;understand&lt;/em&gt; what's going on here. Can anyone explain how and why Perl treats an expression like &lt;code&gt;(1..4)&lt;/code&gt; differently than &lt;code&gt;(1, 2, 3, 4)&lt;/code&gt; and &lt;code&gt;@{[1..4]}&lt;/code&gt;?&lt;/p&gt;

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

        </content:encoded>
      <dcterms:modified>2010-07-29T21:42:36Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3367182/calling-scalar-on-the-results-of-the-range-operator-in-perl</guid>
    </item>
    <item>
      <author>nobody@example.com (slashman)</author>
      <dc:creator>nobody@example.com (slashman)</dc:creator>
      <link>http://freereadingsonline.com/2010/07/29/perl-6-early-with-rakudo-star/</link>
      <description>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 ...</description>
      <dc:date>2010-07-29T21:22:00Z</dc:date>
      <title>Free Readings Online » Blog Archive » Perl 6, Early, With Rakudo Star</title>
      <pubDate>Thu, 29 Jul 2010 21:22:00 -0000</pubDate>
      <content:encoded>&lt;b&gt;Perl&lt;/b&gt; 6 may have been "finally coming within reach" in 2004, but now it's even closer. Reader rnddim writes "The &lt;b&gt;Perl&lt;/b&gt; 6 implementation Rakudo Star has been released today for 'early adopters.'  This release of Rakudo is different from the ...</content:encoded>
      <dcterms:modified>2010-07-29T21:22:00Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:freereadingsonline.com,2010-07-29:/2010/07/29/perl-6-early-with-rakudo-star//</guid>
    </item>
    <item>
      <author>nobody@example.com (unknown)</author>
      <dc:creator>nobody@example.com (unknown)</dc:creator>
      <link>http://www.spinics.net/lists/git/msg136463.html</link>
      <description>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. ...</description>
      <dc:date>2010-07-29T21:21:22Z</dc:date>
      <title>[PATCH/RFC] tests: WIP Infrastructure for Git smoke testing -- Git</title>
      <pubDate>Thu, 29 Jul 2010 21:21:22 -0000</pubDate>
      <content:encoded>Currently I just hardcode e.g. "&lt;b&gt;perl&lt;/b&gt;" 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. ...</content:encoded>
      <dcterms:modified>2010-07-29T21:21:22Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:www.spinics.net,2010-07-29:/lists/git/msg136463.html/</guid>
    </item>
    <item>
      <author>nobody@example.com (Ævar Arnfjörð Bjarmason)</author>
      <dc:creator>nobody@example.com (Ævar Arnfjörð Bjarmason)</dc:creator>
      <link>http://www.listware.net/201007/linux-git/114257-patchrfc-tests-wip-infrastructure-for-git-smoke-testing.html</link>
      <description>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. ...</description>
      <dc:date>2010-07-29T21:20:55Z</dc:date>
      <title>PATCH/RFC - tests: WIP Infrastructure for Git smoke testing</title>
      <pubDate>Thu, 29 Jul 2010 21:20:55 -0000</pubDate>
      <content:encoded>Currently I just hardcode e.g. "&lt;b&gt;perl&lt;/b&gt;" 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. ...</content:encoded>
      <dcterms:modified>2010-07-29T21:20:55Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:www.listware.net,2010-07-29:/201007/linux-git/114257-patchrfc-tests-wip-infrastructure-for-git-smoke-testing.html/</guid>
    </item>
    <item>
      <author>nobody@example.com (Htbaa)</author>
      <dc:creator>nobody@example.com (Htbaa)</dc:creator>
      <link>http://blog.htbaa.com/programming/my-first-perl-6-code</link>
      <description>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";
...</description>
      <dc:date>2010-07-29T21:18:42Z</dc:date>
      <title>Htbaa blogs? - My first Perl 6 code</title>
      <pubDate>Thu, 29 Jul 2010 21:18:42 -0000</pubDate>
      <content:encoded>I immediately installed it on my laptop after I had  fetched the installer and started up Rakudo REPL, an interactive &lt;b&gt;Perl&lt;/b&gt; 6 shell. After a quick peek in the Using &lt;b&gt;Perl&lt;/b&gt; 6 PDF I tried the following code. &amp;gt; say "test"; ...</content:encoded>
      <dcterms:modified>2010-07-29T21:18:42Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:blog.htbaa.com,2010-07-29:/programming/my-first-perl-6-code/</guid>
    </item>
    <item>
      <author>nobody@example.com (chromatic)</author>
      <dc:creator>nobody@example.com (chromatic)</dc:creator>
      <link>http://www.modernperlbooks.com/mt/2010/07/how-about-a-shetland-ponie.html</link>
      <description>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 ...</description>
      <dc:date>2010-07-29T20:47:15Z</dc:date>
      <title>How About a Shetland Ponie? - Modern Perl Books, a Modern Perl Blog</title>
      <pubDate>Thu, 29 Jul 2010 20:47:15 -0000</pubDate>
      <content:encoded>Rakudo Star is out, and so begins the next great wave of interest and use of &lt;b&gt;Perl&lt;/b&gt; 6. The next several releases will improve performance, fix bugs, add features, port or create more libraries, and—in all likelihood—improve and otherwise ...</content:encoded>
      <dcterms:modified>2010-07-29T20:47:15Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:www.modernperlbooks.com,2010-07-29:/mt/2010/07/how-about-a-shetland-ponie.html/</guid>
    </item>
    <item>
      <author>nobody@example.com (vWorker.com: Newest projects feed)</author>
      <dc:creator>nobody@example.com (vWorker.com: Newest projects feed)</dc:creator>
      <link>http://bidscc.com/2010/07/29/perl-script-for-updating-linux</link>
      <description>Please, post bids for new project: Perl script for updating linux.</description>
      <dc:date>2010-07-29T20:19:37Z</dc:date>
      <title>Perl script for updating linux | Projects for Freelancers</title>
      <pubDate>Thu, 29 Jul 2010 20:19:37 -0000</pubDate>
      <content:encoded>Please, post bids for new project: &lt;b&gt;Perl&lt;/b&gt; script for updating linux.</content:encoded>
      <dcterms:modified>2010-07-29T20:19:37Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:bidscc.com,2010-07-29:/2010/07/29/perl-script-for-updating-linux/</guid>
    </item>
    <item>
      <author>nobody@example.com (shinjuo)</author>
      <dc:creator>nobody@example.com (shinjuo)</dc:creator>
      <category>regex perl split</category>
      <link>http://stackoverflow.com/questions/3366533/splitting-a-string-with-multiple-white-spaces-with-perl</link>
      <description>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";
                }</description>
      <dc:date>2010-07-29T20:09:28Z</dc:date>
      <dc:subject>regex perl split</dc:subject>
      <title>Splitting a string with multiple white spaces with perl?</title>
      <pubDate>Thu, 29 Jul 2010 20:09:28 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;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&lt;/p&gt;

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

        </content:encoded>
      <dcterms:modified>2010-07-29T20:09:28Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3366533/splitting-a-string-with-multiple-white-spaces-with-perl</guid>
    </item>
    <item>
      <author>nobody@example.com (Felix)</author>
      <dc:creator>nobody@example.com (Felix)</dc:creator>
      <category>perl catalyst assets</category>
      <link>http://stackoverflow.com/questions/3366393/accessing-the-catalyst-object-c-from-myapp-pm</link>
      <description>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.</description>
      <dc:date>2010-07-29T19:50:52Z</dc:date>
      <dc:subject>perl catalyst assets</dc:subject>
      <title>Accessing the Catalyst object $c from MyApp.pm</title>
      <pubDate>Thu, 29 Jul 2010 19:50:52 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;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.  &lt;/p&gt;

&lt;p&gt;My first thought is call $c-&amp;gt;assets-&amp;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.  &lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;Solutions or new ideas appreciated.  Thanks in advance.&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T19:50:52Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3366393/accessing-the-catalyst-object-c-from-myapp-pm</guid>
    </item>
    <item>
      <author>nobody@example.com (unknown)</author>
      <dc:creator>nobody@example.com (unknown)</dc:creator>
      <link>http://worldsdown.net/6d4n/communication+network.html</link>
      <description>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 ...</description>
      <dc:date>2010-07-29T18:14:22Z</dc:date>
      <title>Communication Network Rapidshare Free Full Downloads with Hotfile ...</title>
      <pubDate>Thu, 29 Jul 2010 18:14:22 -0000</pubDate>
      <content:encoded>That's why Lincoln Stein's Network Programming with &lt;b&gt;Perl&lt;/b&gt; is valuable. It shows how one of the world's top &lt;b&gt;Perl&lt;/b&gt; authorities brings the language to bear on problems that require communication among computers, showing that you may not have ...</content:encoded>
      <dcterms:modified>2010-07-29T18:14:22Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:worldsdown.net,2010-07-29:/6d4n/communication+network.html/</guid>
    </item>
    <item>
      <author>nobody@example.com (Rudorathod)</author>
      <dc:creator>nobody@example.com (Rudorathod)</dc:creator>
      <category>perl</category>
      <link>http://stackoverflow.com/questions/3365693/decode-a-string-into-different-variables-using-perl-one-liner</link>
      <description>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 {} )</description>
      <dc:date>2010-07-29T18:12:44Z</dc:date>
      <dc:subject>perl</dc:subject>
      <title>decode a string into different variables using PERL one liner</title>
      <pubDate>Thu, 29 Jul 2010 18:12:44 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I've the following strings which I would like to decode into different variables depending on the string &lt;/p&gt;

&lt;p&gt;examples&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;{"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"}}}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I want to get one liner command or multiple command to fetch values into different variables.&lt;/p&gt;

&lt;p&gt;Results&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;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 {} )
&lt;/code&gt;&lt;/pre&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T18:12:44Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3365693/decode-a-string-into-different-variables-using-perl-one-liner</guid>
    </item>
    <item>
      <author>nobody@example.com (unknown)</author>
      <dc:creator>nobody@example.com (unknown)</dc:creator>
      <link>http://worldsdown.net/d4ea/excess.html</link>
      <description>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 ...</description>
      <dc:date>2010-07-29T18:04:31Z</dc:date>
      <title>Excess Rapidshare Free Full Downloads with Hotfile and MegaUpload ...</title>
      <pubDate>Thu, 29 Jul 2010 18:04:31 -0000</pubDate>
      <content:encoded>UltraEdit is a powerful disk-basked text editor, programmer's editor, and hex editor that is used to edit HTML, PHP, javascript, &lt;b&gt;Perl&lt;/b&gt;, C/C++, and a multitude of other coding/programming languages. UltraEdit can handle and edit files in ...</content:encoded>
      <dcterms:modified>2010-07-29T18:04:31Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:worldsdown.net,2010-07-29:/d4ea/excess.html/</guid>
    </item>
    <item>
      <author>nobody@example.com (revskill)</author>
      <dc:creator>nobody@example.com (revskill)</dc:creator>
      <link>http://www.gigatraining.net/elearning/perl-5-essential-training.html</link>
      <description>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. ...</description>
      <dc:date>2010-07-29T18:02:18Z</dc:date>
      <title>Perl 5 Essential Training | Revskill's Blog</title>
      <pubDate>Thu, 29 Jul 2010 18:02:18 -0000</pubDate>
      <content:encoded>In &lt;b&gt;Perl&lt;/b&gt; 5 Essential Training, author Bill Weinman explains the fundamentals of programming in &lt;b&gt;Perl&lt;/b&gt;, a flexible and powerful  programming language that s well suited for projects as varied as simple scripts to complex web applications. ...</content:encoded>
      <dcterms:modified>2010-07-29T18:02:18Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:www.gigatraining.net,2010-07-29:/elearning/perl-5-essential-training.html/</guid>
    </item>
    <item>
      <author>nobody@example.com (Andrew)</author>
      <dc:creator>nobody@example.com (Andrew)</dc:creator>
      <category>windows perl getting-started activeperl strawberry-perl</category>
      <link>http://stackoverflow.com/questions/3365518/should-i-choose-activeperl-or-strawberry-perl-for-windows</link>
      <description>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?</description>
      <dc:date>2010-07-29T17:53:21Z</dc:date>
      <dc:subject>windows perl getting-started activeperl strawberry-perl</dc:subject>
      <title>Should I choose ActivePerl or Strawberry Perl for Windows?</title>
      <pubDate>Thu, 29 Jul 2010 17:53:21 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;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 &lt;em&gt;just&lt;/em&gt; Perl on other OSes :). &lt;/p&gt;

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

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

&lt;p&gt;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?&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T17:53:21Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3365518/should-i-choose-activeperl-or-strawberry-perl-for-windows</guid>
    </item>
    <item>
      <author>nobody@example.com (alex)</author>
      <dc:creator>nobody@example.com (alex)</dc:creator>
      <category>perl bash scripting csv</category>
      <link>http://stackoverflow.com/questions/3365378/matching-lines-across-multiple-csv-files-and-merging-a-particular-field</link>
      <description>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.</description>
      <dc:date>2010-07-29T17:30:24Z</dc:date>
      <dc:subject>perl bash scripting csv</dc:subject>
      <title>Matching lines across multiple csv files and merging a particular field</title>
      <pubDate>Thu, 29 Jul 2010 17:30:24 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;I have about 20 CSV's that all look like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;"[email]","[fname]","[lname]","[prefix]","[suffix]","[fax]","[phone]","[business]","[address1]","[address2]","[city]","[state]","[zip]","[setdate]","[email_type]","[start_code]"
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;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. &lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;"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"
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;to&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;"anon@yahoo.com","anon",,,,,,,,,,,,01/16/08 08:05 PM,,"WIQC PDX, OOTA, ITOS"
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;for all three files (wicq.csv, oota.csv, and itos.csv)&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T17:30:24Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3365378/matching-lines-across-multiple-csv-files-and-merging-a-particular-field</guid>
    </item>
    <item>
      <author>nobody@example.com (John Napiorkowski)</author>
      <dc:creator>nobody@example.com (John Napiorkowski)</dc:creator>
      <link>http://jjnapiorkowski.vox.com/library/post/parameterized-roles-and-method-traits.html?_c=feed-atom</link>
      <description>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 ...</description>
      <dc:date>2010-07-29T17:27:32Z</dc:date>
      <title>Parameterized Roles and Method Traits - Vox</title>
      <pubDate>Thu, 29 Jul 2010 17:27:32 -0000</pubDate>
      <content:encoded>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 &lt;b&gt;Perl&lt;/b&gt;. The only (current) downsides are ...</content:encoded>
      <dcterms:modified>2010-07-29T17:27:32Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:jjnapiorkowski.vox.com,2010-07-29:/library/post/parameterized-roles-and-method-traits.html?_c=feed-atom/</guid>
    </item>
    <item>
      <author>nobody@example.com (fo.Obar)</author>
      <dc:creator>nobody@example.com (fo.Obar)</dc:creator>
      <category>perl sed newline search-and-replace multiline</category>
      <link>http://stackoverflow.com/questions/3365260/match-and-replace-multiple-newlines-with-a-sed-or-perl-one-liner</link>
      <description>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.</description>
      <dc:date>2010-07-29T17:16:52Z</dc:date>
      <dc:subject>perl sed newline search-and-replace multiline</dc:subject>
      <title>match and replace multiple newlines with a SED or PERL one-liner </title>
      <pubDate>Thu, 29 Jul 2010 17:16:52 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;I have an input C file (myfile.c) that looks like this :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;void func_foo();
void func_bar();

//supercrazytag
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I want to use a shell command to insert new function prototypes, such that the output becomes:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;void func_foo();
void func_bar();
void func_new();

//supercrazytag
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;So far I've been unsuccessful using SED or PERL.
What didn't work:&lt;/p&gt;

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

&lt;p&gt;Using the same patterns with perl -pe "....." didn't work either.&lt;/p&gt;

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

        </content:encoded>
      <dcterms:modified>2010-07-29T17:16:52Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3365260/match-and-replace-multiple-newlines-with-a-sed-or-perl-one-liner</guid>
    </item>
    <item>
      <author>nobody@example.com (Bryce)</author>
      <dc:creator>nobody@example.com (Bryce)</dc:creator>
      <link>http://scrollingtext.org/project-euler-problem-5</link>
      <description>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 ...</description>
      <dc:date>2010-07-29T17:06:50Z</dc:date>
      <title>Project Euler: Problem 5 | ScrollingText</title>
      <pubDate>Thu, 29 Jul 2010 17:06:50 -0000</pubDate>
      <content:encoded>My solution for Project Euler's fifth question. Solutions come in Haskell, Python, and &lt;b&gt;Perl&lt;/b&gt; flavors. ... Project Euler: Problem 5. Submitted by Bryce on Thu, 07/29/2010 - 10:06. Haskell · &lt;b&gt;PERL&lt;/b&gt; · Project Euler · Python ...</content:encoded>
      <dcterms:modified>2010-07-29T17:06:50Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:scrollingtext.org,2010-07-29:/project-euler-problem-5/</guid>
    </item>
    <item>
      <author>nobody@example.com (Marcin)</author>
      <dc:creator>nobody@example.com (Marcin)</dc:creator>
      <category>perl</category>
      <link>http://stackoverflow.com/questions/3365053/how-to-write-from-n-th-row-to-a-file-using-perl</link>
      <description>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?</description>
      <dc:date>2010-07-29T16:53:05Z</dc:date>
      <dc:subject>perl</dc:subject>
      <title>How to write from n-th row to a file using perl</title>
      <pubDate>Thu, 29 Jul 2010 16:53:05 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;Any idea how to do this?&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T16:53:05Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3365053/how-to-write-from-n-th-row-to-a-file-using-perl</guid>
    </item>
    <item>
      <author>nobody@example.com (Larry Wang)</author>
      <dc:creator>nobody@example.com (Larry Wang)</dc:creator>
      <category>perl unicode screen-scraping www-mechanize</category>
      <link>http://stackoverflow.com/questions/3364952/how-do-i-find-wide-characters-printed-by-perl</link>
      <description>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.</description>
      <dc:date>2010-07-29T16:44:07Z</dc:date>
      <dc:subject>perl unicode screen-scraping www-mechanize</dc:subject>
      <title>How do I find "wide characters" printed by perl?</title>
      <pubDate>Thu, 29 Jul 2010 16:44:07 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;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 &lt;code&gt;wide character in print at ./script.pl line n&lt;/code&gt; to console: one for each page scraped.&lt;/p&gt;

&lt;p&gt;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?&lt;/p&gt;

&lt;p&gt;The relevant code:  &lt;/p&gt;

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

&lt;p&gt;This is on OSX with Perl 5.8.8.&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T16:44:07Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3364952/how-do-i-find-wide-characters-printed-by-perl</guid>
    </item>
    <item>
      <author>nobody@example.com (Adnan Anjum)</author>
      <dc:creator>nobody@example.com (Adnan Anjum)</dc:creator>
      <link>http://hackguide4u.blogspot.com/2010/07/writing-sql-injection-exploits-in-perl.html</link>
      <description>[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 ...</description>
      <dc:date>2010-07-29T16:19:00Z</dc:date>
      <title>| Learn How To Hack - Ethical Hacking Tutorials and Cyber security ...</title>
      <pubDate>Thu, 29 Jul 2010 16:19:00 -0000</pubDate>
      <content:encoded>[2] Little panning of  &lt;b&gt;Perl&lt;/b&gt; language used into an internet context. Using a &lt;b&gt;Perl&lt;/b&gt; 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 ...</content:encoded>
      <dcterms:modified>2010-07-29T16:19:00Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:hackguide4u.blogspot.com,2010-07-29:/2010/07/writing-sql-injection-exploits-in-perl.html/</guid>
    </item>
    <item>
      <author>nobody@example.com (Karen)</author>
      <dc:creator>nobody@example.com (Karen)</dc:creator>
      <link>http://news.perlfoundation.org/2010/07/rakudo-star---a-useful-usable.html</link>
      <description>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 ...</description>
      <dc:date>2010-07-29T16:17:42Z</dc:date>
      <title>Rakudo Star - a useful, usable, "early adopter" distribution of ...</title>
      <pubDate>Thu, 29 Jul 2010 16:17:42 -0000</pubDate>
      <content:encoded>On behalf of the Rakudo and &lt;b&gt;Perl&lt;/b&gt; 6 development teams, I'm happy to announce the July 2010 release of "Rakudo Star", a useful and usable distribution of &lt;b&gt;Perl&lt;/b&gt; 6. The tarball for the July 2010 release is available from ...</content:encoded>
      <dcterms:modified>2010-07-29T16:17:42Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:tag:news.perlfoundation.org,2010-07-29:/2010/07/rakudo-star---a-useful-usable.html/</guid>
    </item>
    <item>
      <author>nobody@example.com (Konerak)</author>
      <dc:creator>nobody@example.com (Konerak)</dc:creator>
      <category>perl</category>
      <link>http://stackoverflow.com/questions/3364713/dependencies-in-perl-code</link>
      <description>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...)</description>
      <dc:date>2010-07-29T16:17:26Z</dc:date>
      <dc:subject>perl</dc:subject>
      <title>Dependencies in Perl code.</title>
      <pubDate>Thu, 29 Jul 2010 16:17:26 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;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...&lt;/p&gt;

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

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

&lt;p&gt;Interesting questions:&lt;/p&gt;

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

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

        </content:encoded>
      <dcterms:modified>2010-07-29T16:17:26Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3364713/dependencies-in-perl-code</guid>
    </item>
    <item>
      <author>nobody@example.com (shinjuo)</author>
      <dc:creator>nobody@example.com (shinjuo)</dc:creator>
      <category>perl text mobile-phones</category>
      <link>http://stackoverflow.com/questions/3364633/sending-text-messages-with-perl</link>
      <description>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?</description>
      <dc:date>2010-07-29T16:10:09Z</dc:date>
      <dc:subject>perl text mobile-phones</dc:subject>
      <title>Sending text messages with perl?</title>
      <pubDate>Thu, 29 Jul 2010 16:10:09 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;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?&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T16:10:09Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3364633/sending-text-messages-with-perl</guid>
    </item>
    <item>
      <author>nobody@example.com (ThePirateSheep)</author>
      <dc:creator>nobody@example.com (ThePirateSheep)</dc:creator>
      <category>perl arrays error push</category>
      <link>http://stackoverflow.com/questions/3364410/push-call-in-perl-overwriting-array</link>
      <description>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</description>
      <dc:date>2010-07-29T15:50:03Z</dc:date>
      <dc:subject>perl arrays error push</dc:subject>
      <title>Push call in Perl overwriting array</title>
      <pubDate>Thu, 29 Jul 2010 15:50:03 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;(for the purposes of this testing, I've shrank the file from 400 MB to 40 MB)&lt;/p&gt;

&lt;p&gt;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:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;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
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;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:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;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.
&lt;/code&gt;&lt;/pre&gt;

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

&lt;p&gt;Thanks&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T15:50:03Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3364410/push-call-in-perl-overwriting-array</guid>
    </item>
    <item>
      <author>nobody@example.com (James Gleeson)</author>
      <dc:creator>nobody@example.com (James Gleeson)</dc:creator>
      <category>perl memory-leaks map grep</category>
      <link>http://stackoverflow.com/questions/3363917/perl-map-grep-memory-leak</link>
      <description>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</description>
      <dc:date>2010-07-29T15:02:39Z</dc:date>
      <dc:subject>perl memory-leaks map grep</dc:subject>
      <title>Perl map/grep memory leak</title>
      <pubDate>Thu, 29 Jul 2010 15:02:39 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;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:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;#!/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($_);
#}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;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. &lt;/p&gt;

&lt;p&gt;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?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T15:02:39Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3363917/perl-map-grep-memory-leak</guid>
    </item>
    <item>
      <author>nobody@example.com (Tree)</author>
      <dc:creator>nobody@example.com (Tree)</dc:creator>
      <category>perl</category>
      <link>http://stackoverflow.com/questions/3363868/how-to-reslove-array-hash-issue</link>
      <description>  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</description>
      <dc:date>2010-07-29T14:58:35Z</dc:date>
      <dc:subject>perl</dc:subject>
      <title>How to reslove array hash issue</title>
      <pubDate>Thu, 29 Jul 2010 14:58:35 -0000</pubDate>
      <content:encoded>
            &lt;pre&gt;&lt;code&gt;  my %geo_location_map = (
                             US =&amp;gt; [ 'US', 'CA' ],
                             EU =&amp;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;}  
        }
    }
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I tried its not working &lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T14:58:35Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3363868/how-to-reslove-array-hash-issue</guid>
    </item>
    <item>
      <author>nobody@example.com (ram)</author>
      <dc:creator>nobody@example.com (ram)</dc:creator>
      <category>perl</category>
      <link>http://stackoverflow.com/questions/3363683/how-do-i-collect-the-lines-between-two-key-words</link>
      <description>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?</description>
      <dc:date>2010-07-29T14:42:39Z</dc:date>
      <dc:subject>perl</dc:subject>
      <title>How do I collect the lines between two key words?</title>
      <pubDate>Thu, 29 Jul 2010 14:42:39 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;Hi, I have a file like:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;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
&lt;/code&gt;&lt;/pre&gt;

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

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

&lt;p&gt;But I am getting only the lines that have &lt;code&gt;START&lt;/code&gt;. Could you please help me?&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T14:42:39Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3363683/how-do-i-collect-the-lines-between-two-key-words</guid>
    </item>
    <item>
      <author>nobody@example.com</author>
      <dc:creator>nobody@example.com</dc:creator>
      <link>http://rss.feedsportal.com/c/32569/f/491734/s/c5ec8cd/l/0L0Sh0Eonline0N0Copen0Cnews0Citem0CRakudo0EStar0EA0Efirst0Eusable0EPerl0E60E10A480A360Bhtml0Cfrom0Crss/story01.htm</link>
      <description>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]</description>
      <dc:date>2010-07-29T14:15:59Z</dc:date>
      <title>Rakudo Star - A first usable Perl 6</title>
      <pubDate>Thu, 29 Jul 2010 14:15:59 -0000</pubDate>
      <content:encoded>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:encoded>
      <dcterms:modified>2010-07-29T14:15:59Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://rss.feedsportal.com/c/32569/f/491734/s/c5ec8cd/l/0L0Sh0Eonline0N0Copen0Cnews0Citem0CRakudo0EStar0EA0Efirst0Eusable0EPerl0E60E10A480A360Bhtml0Cfrom0Crss/story01.htm</guid>
    </item>
    <item>
      <author>nobody@example.com (skeldoy)</author>
      <dc:creator>nobody@example.com (skeldoy)</dc:creator>
      <link>http://skeldoy.wordpress.com/2010/07/29/benchmarking-simple-stuff-in-different-languages/</link>
      <description>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</description>
      <dc:date>2010-07-29T14:06:17Z</dc:date>
      <title>Benchmarking simple stuff in different languages</title>
      <pubDate>Thu, 29 Jul 2010 14:06:17 -0000</pubDate>
      <content:encoded>&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:encoded>
      <dcterms:modified>2010-07-29T14:06:17Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://skeldoy.wordpress.com/2010/07/29/benchmarking-simple-stuff-in-different-languages/</guid>
    </item>
    <item>
      <author>nobody@example.com (itzy)</author>
      <dc:creator>nobody@example.com (itzy)</dc:creator>
      <category>perl math</category>
      <link>http://stackoverflow.com/questions/3363250/find-combinations-of-numbers-that-sum-to-some-desired-number</link>
      <description>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.</description>
      <dc:date>2010-07-29T13:59:49Z</dc:date>
      <dc:subject>perl math</dc:subject>
      <title>Find combinations of numbers that sum to some desired number</title>
      <pubDate>Thu, 29 Jul 2010 13:59:49 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;I need an algorithm that identifies all possible combinations of a set of numbers that sum to some other number.&lt;/p&gt;

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

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

&lt;p&gt;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.&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T13:59:49Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3363250/find-combinations-of-numbers-that-sum-to-some-desired-number</guid>
    </item>
    <item>
      <author>nobody@example.com (David B)</author>
      <dc:creator>nobody@example.com (David B)</dc:creator>
      <category>java perl json serialization</category>
      <link>http://stackoverflow.com/questions/3362939/passing-a-data-structure-from-java-to-perl-and-vice-versa</link>
      <description>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</description>
      <dc:date>2010-07-29T13:27:50Z</dc:date>
      <dc:subject>java perl json serialization</dc:subject>
      <title>passing a data structure from java to perl (and vice versa)</title>
      <pubDate>Thu, 29 Jul 2010 13:27:50 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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?&lt;/p&gt;

&lt;p&gt;Thamks,
Dave&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T13:27:50Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3362939/passing-a-data-structure-from-java-to-perl-and-vice-versa</guid>
    </item>
    <item>
      <author>nobody@example.com (Thulasiram S)</author>
      <dc:creator>nobody@example.com (Thulasiram S)</dc:creator>
      <link>http://strawthesis.wordpress.com/2010/07/29/computer-languages-history/</link>
      <description>  * 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</description>
      <dc:date>2010-07-29T13:08:43Z</dc:date>
      <title>Computer Languages History</title>
      <pubDate>Thu, 29 Jul 2010 13:08:43 -0000</pubDate>
      <content:encoded>&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:encoded>
      <dcterms:modified>2010-07-29T13:08:43Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://strawthesis.wordpress.com/2010/07/29/computer-languages-history/</guid>
    </item>
    <item>
      <author>nobody@example.com (Flower07)</author>
      <dc:creator>nobody@example.com (Flower07)</dc:creator>
      <category>perl</category>
      <link>http://stackoverflow.com/questions/3361972/sending-mail-through-perl</link>
      <description>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?</description>
      <dc:date>2010-07-29T11:27:12Z</dc:date>
      <dc:subject>perl</dc:subject>
      <title>Sending Mail Through Perl</title>
      <pubDate>Thu, 29 Jul 2010 11:27:12 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;I am using the below code to send an email&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;#!/usr/bin/perl

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

use Mail::Sender;

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

$sender-&amp;gt;Close;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But, it is not sending the mail at all. What is wrong in my code?&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T11:27:12Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3361972/sending-mail-through-perl</guid>
    </item>
    <item>
      <author>nobody@example.com (imerez)</author>
      <dc:creator>nobody@example.com (imerez)</dc:creator>
      <category>java perl pipes</category>
      <link>http://stackoverflow.com/questions/3360958/java-doesnt-seem-to-read-my-perl-piped-output-intime-and-is-filling-up</link>
      <description>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</description>
      <dc:date>2010-07-29T09:17:46Z</dc:date>
      <dc:subject>java perl pipes</dc:subject>
      <title>java doesnt seem to read my perl piped output intime and is filling up</title>
      <pubDate>Thu, 29 Jul 2010 09:17:46 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;update &amp;gt;&amp;gt;&lt;/p&gt;

&lt;p&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.&lt;/p&gt;

&lt;p&gt;PERL :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;close STDOUT 
close STDERR
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;My java looks like the following&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;   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();
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;whereby StreamGobbler is -&amp;gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&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 + "&amp;gt;" + line);    
        } catch (IOException ioe)
          {
            ioe.printStackTrace();  
          }
}
}



 String line="";

 status = parserProcess.waitFor();
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Thanks in advance&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T09:17:46Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3360958/java-doesnt-seem-to-read-my-perl-piped-output-intime-and-is-filling-up</guid>
    </item>
    <item>
      <author>nobody@example.com (awaiskhan200)</author>
      <dc:creator>nobody@example.com (awaiskhan200)</dc:creator>
      <category>perl unix iostream tail</category>
      <link>http://stackoverflow.com/questions/3359705/how-do-i-process-captured-output-from-tail-without-reprocessing</link>
      <description>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.</description>
      <dc:date>2010-07-29T05:31:38Z</dc:date>
      <dc:subject>perl unix iostream tail</dc:subject>
      <title>How do I process captured output from `tail` without reprocessing?</title>
      <pubDate>Thu, 29 Jul 2010 05:31:38 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;Hi, I want to excecute a &lt;code&gt;tail&lt;/code&gt; 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.&lt;/p&gt;

&lt;p&gt;Can someone please tell me how can this be done? Thanks in anticipation.&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T05:31:38Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3359705/how-do-i-process-captured-output-from-tail-without-reprocessing</guid>
    </item>
    <item>
      <author>nobody@example.com (bukzor)</author>
      <dc:creator>nobody@example.com (bukzor)</dc:creator>
      <category>perl fetch scalar tie</category>
      <link>http://stackoverflow.com/questions/3358914/returning-a-lazily-computed-scalar-in-perl</link>
      <description>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</description>
      <dc:date>2010-07-29T01:50:52Z</dc:date>
      <dc:subject>perl fetch scalar tie</dc:subject>
      <title>returning a lazily-computed scalar, in perl</title>
      <pubDate>Thu, 29 Jul 2010 01:50:52 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;I'm trying to add some functionality to our code base by using tied scalars.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;Is there any way around this?&lt;/p&gt;

&lt;p&gt;I really want to keep the subroutine's interface (returning scalars) intact if it's at all possible.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;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    =&amp;gt; shift || 'noname',
    }, $class;
}

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

&lt;p&gt;Desired output:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;1
ACCESS ALERT!
    NAME: 'Fred'
2
ACCESS ALERT!
    NAME: 'Fred'
3
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;--Buck&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-29T01:50:52Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3358914/returning-a-lazily-computed-scalar-in-perl</guid>
    </item>
    <item>
      <author>nobody@example.com (nnyby)</author>
      <dc:creator>nobody@example.com (nnyby)</dc:creator>
      <category>regex perl bash</category>
      <link>http://stackoverflow.com/questions/3357263/monster-perl-regex</link>
      <description>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!</description>
      <dc:date>2010-07-28T20:34:08Z</dc:date>
      <dc:subject>regex perl bash</dc:subject>
      <title>Monster perl regex</title>
      <pubDate>Wed, 28 Jul 2010 20:34:08 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;I'm trying to change strings like this:&lt;/p&gt;

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

&lt;p&gt;To this:&lt;/p&gt;

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

&lt;p&gt;And I've got this monster of a regular expression:&lt;/p&gt;

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

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

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

&lt;p&gt;But if you want to help me with the regular expression that'd be cool, too!&lt;/p&gt;

        </content:encoded>
      <dcterms:modified>2010-07-28T20:34:08Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3357263/monster-perl-regex</guid>
    </item>
    <item>
      <author>nobody@example.com (poisonbit)</author>
      <dc:creator>nobody@example.com (poisonbit)</dc:creator>
      <link>http://poisonbit.wordpress.com/2010/07/28/perl-humor-the-5-oneliners/</link>
      <description>&amp;#8220;Perl oneliner&amp;#8221; is the direct usage of the Perl interpreter at the command line, mostly </description>
      <dc:date>2010-07-28T15:51:04Z</dc:date>
      <title>Perl humor - the 5 oneLiners</title>
      <pubDate>Wed, 28 Jul 2010 15:51:04 -0000</pubDate>
      <content:encoded>&amp;#8220;Perl oneliner&amp;#8221; is the direct usage of the Perl interpreter at the command line, mostly </content:encoded>
      <dcterms:modified>2010-07-28T15:51:04Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://poisonbit.wordpress.com/2010/07/28/perl-humor-the-5-oneliners/</guid>
    </item>
    <item>
      <author>nobody@example.com (lidia)</author>
      <dc:creator>nobody@example.com (lidia)</dc:creator>
      <category>perl</category>
      <link>http://stackoverflow.com/questions/3341703/perl-identify-if-param-is-empty-value-from-arg</link>
      <description>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;
}</description>
      <dc:date>2010-07-27T08:07:15Z</dc:date>
      <dc:subject>perl</dc:subject>
      <title>perl + identify if param is empty value from ARG</title>
      <pubDate>Tue, 27 Jul 2010 08:07:15 -0000</pubDate>
      <content:encoded>
            &lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;when I run the following script.pl script with no arguments:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;./script.pl
&lt;/code&gt;&lt;/pre&gt;

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

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

        </content:encoded>
      <dcterms:modified>2010-07-27T08:07:15Z</dcterms:modified>
      <guid isPermaLink="false">tag:insel,2006:http://stackoverflow.com/questions/3341703/perl-identify-if-param-is-empty-value-from-arg</guid>
    </item>
    <item>
      <author>nobody@example.com (chenghan)</author>
      <dc:creator>nobody@example.com (chenghan)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/chenghan/blog/2010/06/16/socket-connection-with-perl</link>
      <description>#!/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; ......</description>
      <dc:subject>perl opera</dc:subject>
      <title>socket connection with perl</title>
      <content:encoded>#!/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; ......</content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/chenghan/blog/2010/06/16/socket-connection-with-perl</guid>
    </item>
    <item>
      <author>nobody@example.com (linuxonlinehelp)</author>
      <dc:creator>nobody@example.com (linuxonlinehelp)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/linuxonlinehelp/blog/perl-webmin-bug-freebsd-8-0</link>
      <description>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) </description>
      <dc:subject>perl opera</dc:subject>
      <title>Perl Webmin Bug FreeBSD 8.0</title>
      <content:encoded>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) </content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/linuxonlinehelp/blog/perl-webmin-bug-freebsd-8-0</guid>
    </item>
    <item>
      <author>nobody@example.com (thanhtungict)</author>
      <dc:creator>nobody@example.com (thanhtungict)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/thanhtungict/blog/2010/07/12/installing-nictool-on-centos-5</link>
      <description>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 ......</description>
      <dc:subject>perl opera</dc:subject>
      <title>Installing Nictool On CentOS 5</title>
      <content:encoded>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 ......</content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/thanhtungict/blog/2010/07/12/installing-nictool-on-centos-5</guid>
    </item>
    <item>
      <author>nobody@example.com (cstrep)</author>
      <dc:creator>nobody@example.com (cstrep)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/cstrep/blog/2010/06/27/lwp-simple-for-perl-6-now-with-partial-basicauth-support-and-getstore</link>
      <description>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 ......</description>
      <dc:subject>perl opera</dc:subject>
      <title>LWP::Simple for Perl 6, now with (partial) BasicAuth support and getstore()</title>
      <content:encoded>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 ......</content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/cstrep/blog/2010/06/27/lwp-simple-for-perl-6-now-with-partial-basicauth-support-and-getstore</guid>
    </item>
    <item>
      <author>nobody@example.com (cstrep)</author>
      <dc:creator>nobody@example.com (cstrep)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/cstrep/blog/2010/07/06/debpan-a-production-grade-debian-cpan-repository</link>
      <description>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 ......</description>
      <dc:subject>perl opera</dc:subject>
      <title>"DebPAN", a production-grade Debian CPAN repository</title>
      <content:encoded>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 ......</content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/cstrep/blog/2010/07/06/debpan-a-production-grade-debian-cpan-repository</guid>
    </item>
    <item>
      <author>nobody@example.com (narum)</author>
      <dc:creator>nobody@example.com (narum)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/narum/blog/2010/07/06/rebol</link>
      <description>もうですね、いまさら新言語（というほど新しくはないんだけど…）に食指が伸びるような時代でもないんですが、あまりに異質だったので思わずダウンロードして電卓のサンプルを実行…ビックリしましたね。サンプルソースの怪しいまでの簡潔さとかそういうのもあるんですが、何よりも実行環境のサイズが小さく（800k）、スピードが速い。「うそだろこれー！」って感じでした。 作者のカール・サセンラスは、Wikipedia で調べたところ Amiga OS の設計者。なるほどね、軽さ第一の哲学なわけだ。もう、久々にハマる予感です ......</description>
      <dc:subject>perl opera</dc:subject>
      <title>REBOL にハマる</title>
      <content:encoded>もうですね、いまさら新言語（というほど新しくはないんだけど…）に食指が伸びるような時代でもないんですが、あまりに異質だったので思わずダウンロードして電卓のサンプルを実行…ビックリしましたね。サンプルソースの怪しいまでの簡潔さとかそういうのもあるんですが、何よりも実行環境のサイズが小さく（800k）、スピードが速い。「うそだろこれー！」って感じでした。 作者のカール・サセンラスは、Wikipedia で調べたところ Amiga OS の設計者。なるほどね、軽さ第一の哲学なわけだ。もう、久々にハマる予感です ......</content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/narum/blog/2010/07/06/rebol</guid>
    </item>
    <item>
      <author>nobody@example.com (cstrep)</author>
      <dc:creator>nobody@example.com (cstrep)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/cstrep/blog/2010/06/22/dependencies-suck</link>
      <description>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 ......</description>
      <dc:subject>perl opera</dc:subject>
      <title>Dependencies suck</title>
      <content:encoded>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 ......</content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/cstrep/blog/2010/06/22/dependencies-suck</guid>
    </item>
    <item>
      <author>nobody@example.com (softlenhan)</author>
      <dc:creator>nobody@example.com (softlenhan)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/softlenhan/blog/list-free-host-2</link>
      <description> www.1AspHost.com ...</description>
      <dc:subject>perl opera</dc:subject>
      <title>-- List Free Host Part I --</title>
      <content:encoded> www.1AspHost.com ...</content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/softlenhan/blog/list-free-host-2</guid>
    </item>
    <item>
      <author>nobody@example.com (cstrep)</author>
      <dc:creator>nobody@example.com (cstrep)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/cstrep/blog/2010/07/11/perl-6-lwp-simple-gets-chunked-transfers-support</link>
      <description>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 ......</description>
      <dc:subject>perl opera</dc:subject>
      <title>Perl 6 LWP::Simple gets chunked transfers support</title>
      <content:encoded>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 ......</content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/cstrep/blog/2010/07/11/perl-6-lwp-simple-gets-chunked-transfers-support</guid>
    </item>
    <item>
      <author>nobody@example.com (cstrep)</author>
      <dc:creator>nobody@example.com (cstrep)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/cstrep/blog/perl6-hacking-grammars-digest-md5-and-caffeine-levels</link>
      <description>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 ......</description>
      <dc:subject>perl opera</dc:subject>
      <title>Perl6 hacking, grammars, Digest::MD5 and caffeine levels</title>
      <content:encoded>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 ......</content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/cstrep/blog/perl6-hacking-grammars-digest-md5-and-caffeine-levels</guid>
    </item>
    <item>
      <author>nobody@example.com (cstrep)</author>
      <dc:creator>nobody@example.com (cstrep)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/cstrep/blog/2010/06/29/digest-md5-for-perl-6-finally-works</link>
      <description>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 ......</description>
      <dc:subject>perl opera</dc:subject>
      <title>Digest::MD5 for Perl 6 finally works!</title>
      <content:encoded>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 ......</content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/cstrep/blog/2010/06/29/digest-md5-for-perl-6-finally-works</guid>
    </item>
    <item>
      <author>nobody@example.com (cstrep)</author>
      <dc:creator>nobody@example.com (cstrep)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/cstrep/blog/2010/06/25/perl-community-you-have-to-see-this</link>
      <description>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 ) ...</description>
      <dc:subject>perl opera</dc:subject>
      <title>Perl community, you have to see this</title>
      <content:encoded>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 ) ...</content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/cstrep/blog/2010/06/25/perl-community-you-have-to-see-this</guid>
    </item>
    <item>
      <author>nobody@example.com (marcomarongiu)</author>
      <dc:creator>nobody@example.com (marcomarongiu)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/marcomarongiu/blog/2010/07/29/perl-6-is-out-erm-sort-of</link>
      <description> 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 ......</description>
      <dc:subject>perl opera</dc:subject>
      <title>Perl 6 is out! Erm... sort of</title>
      <content:encoded> 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 ......</content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/marcomarongiu/blog/2010/07/29/perl-6-is-out-erm-sort-of</guid>
    </item>
    <item>
      <author>nobody@example.com (softlenhan)</author>
      <dc:creator>nobody@example.com (softlenhan)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/softlenhan/blog/list-free-host</link>
      <description> www.1AspHost.com ...</description>
      <dc:subject>perl opera</dc:subject>
      <title>-- List Free Host Part II --</title>
      <content:encoded> www.1AspHost.com ...</content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/softlenhan/blog/list-free-host</guid>
    </item>
    <item>
      <author>nobody@example.com (anibal784)</author>
      <dc:creator>nobody@example.com (anibal784)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/anibal784/blog/2010/07/12/stawberry-perl-forever</link>
      <description>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 ......</description>
      <dc:subject>perl opera</dc:subject>
      <title>Stawberry perl forever</title>
      <content:encoded>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 ......</content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/anibal784/blog/2010/07/12/stawberry-perl-forever</guid>
    </item>
    <item>
      <author>nobody@example.com (aanoaa)</author>
      <dc:creator>nobody@example.com (aanoaa)</dc:creator>
      <category>perl opera</category>
      <link>http://my.opera.com/aanoaa/blog/2010/07/18/ctags-perl</link>
      <description> 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 ......</description>
      <dc:subject>perl opera</dc:subject>
      <title>ctags 로 perl 소스분석</title>
      <content:encoded> 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 ......</content:encoded>
      <guid isPermaLink="false">tag:insel,2006:http://my.opera.com/aanoaa/blog/2010/07/18/ctags-perl</guid>
    </item>
  </channel>
</rss>
