Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > What constitutes a masterpiece?

Reply
Thread Tools

What constitutes a masterpiece?

 
 
chris.raplee@gmail.com
Guest
Posts: n/a
 
      02-08-2005
masterpiece(noun)
1 : a work done with extraordinary skill; especially : a supreme
intellectual or artistic achievement
2 : a piece of work presented to a medieval guild as evidence of
qualification for the rank of master


What constitutes a masterpiece in Perl?

 
Reply With Quote
 
 
 
 
babydoe@mailinator.com
Guest
Posts: n/a
 
      02-08-2005

writes:

> What constitutes a masterpiece in Perl?


Try exercises Chapter~16 of Learning Perl (3rd ed).

That was the most satisfying hour I've spent since
I hit puberty.

 
Reply With Quote
 
 
 
 
Randal_Schwartzcopf@yahoo.com
Guest
Posts: n/a
 
      02-08-2005

wrote:
> masterpiece(noun)
> 1 : a work done with extraordinary skill; especially : a supreme
> intellectual or artistic achievement
> 2 : a piece of work presented to a medieval guild as evidence of
> qualification for the rank of master
>
>
> What constitutes a masterpiece in Perl?


#!/usr/bin/perl

use Net::NNTP;

my $nntp = Net::NNTP->new("news.server");

my $groups = $nntp->list();
for (keys %$groups)
{
print "group: $_\n";
$nntp->group($_);
my %spam;
my %extra_spam;
while (my $a = $nntp->head())
{
for (@$a)
{
if (/^from:/i)
{
/<(.*)>/;
$spam{$1}++ if $1;
$extra_spam{$1}++ if $1 =~ /NOSPAM/;
print $1, "\n" if $1;
}
}
$nntp->next();
}
}
$nntp->quit;

 
Reply With Quote
 
John Bokma
Guest
Posts: n/a
 
      02-08-2005
wrote:

> masterpiece(noun)
> 1 : a work done with extraordinary skill; especially : a supreme
> intellectual or artistic achievement
> 2 : a piece of work presented to a medieval guild as evidence of
> qualification for the rank of master
>
> What constitutes a masterpiece in Perl?


Putting something at CPAN and have it mentioned here at least once a month
as something that helps to make a task easier.

--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What constitutes 'a good father'? Steve Pake Computer Support 46 05-09-2006 12:16 PM
What constitutes a good portrait? Martin Francis Digital Photography 14 11-15-2003 09:39 PM



Advertisments