<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Meus dois centavos:<BR>
&nbsp;<BR>
use strict;<BR>use warnings;<BR>
my $m = WWW::Mechanize-&gt;new;<BR>
$m-&gt;get(" <A href="http://mail.pm.org/pipermail/cascavel-pm/">http://mail.pm.org/pipermail/cascavel-pm/</A>");<BR>
my @links = $m-&gt;find_all_links( url_regex =&gt; qr#\d{4}-\w+.txt(?!\.gz)#, );<BR>
for my $link (@links) {<BR>
&nbsp;&nbsp;&nbsp; for my $a ( split m#$/#, $m-&gt;get( $link-&gt;url_abs )-&gt;content ) {<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eval "\$hash{" . lc $1 . "}$2"<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if $a =~ /^\s*([\w-]+)((:?\+|-){2})\s*(#.*)?$/;<BR>
&nbsp;&nbsp;&nbsp; }<BR>
}<BR>print "$_ =&gt; $hash{$_}$/" for keys %hash;<BR><BR>[]'s<BR>
Alceu<BR>
<BLOCKQUOTE>
<HR id=EC_stopSpelling>
Date: Thu, 24 May 2007 17:36:16 -0300<BR>From: fernandocorrea@gmail.com<BR>To: cascavel-pm@pm.org<BR>Subject: Re: [Cascavel-pm] PrincipaisContribuidoresCascavelPM<BR><BR>Eu resolví brincar um pouco com o negocio do ++<BR><BR>alguém quer me ajudar?<BR><BR>&lt;code&gt;<BR>perl -MWWW::Mechanize -e '$m=WWW::Mechanize-&gt;new; $m-&gt;get("<A href="http://mail.pm.org/pipermail/cascavel-pm/" target=_blank> http://mail.pm.org/pipermail/cascavel-pm/</A>"); @links = $m-&gt;find_all_links(url_regex =&gt; qr#\d{4}-\w+.txt(?!\.gz)#,); for$link(@links){for$a(split m#$/#, $m-&gt;get($link-&gt;url_abs)-&gt;content){eval "\$hash{" . lc $1 . "}$2" if $a =~ /^\s*([\w-]+)((:?\+|-){2})\s*(#.*)?$/}} print "$_ =&gt; $hash{$_}$/" for keys %hash' <BR>&lt;/code&gt;<BR><BR>
<DIV>&nbsp;</DIV></BLOCKQUOTE><br /><hr />Get news, entertainment and everything you care about at Live.com. <a href='http://www.live.com/getstarted.aspx ' target='_new'>Check it out!</a></body>
</html>