develooper Front page | perl.bootstrap | Postings from August 2000

Re: perl6-all - Duplicate elimination

Thread Previous | Thread Next
From:
Alan Burlison
Date:
August 4, 2000 10:24
Subject:
Re: perl6-all - Duplicate elimination
Message ID:
398AFC1C.3123FD52@uk.sun.com
Alan Burlison wrote:

> If you use something like this:
> 
> PERL_LIST='(perl6|bootstrap)[^@, ]*'
> :0 Wh: .perl-lists.lock
> * $ ^TO_\/${PERL_LIST}@perl.\org
> * MATCH ?? ^^\/[^@]+
> | formail -D 8192 .perl.msgid
>         :0 e:
>         perl-lists/$MATCH
> 
> It will create new folders automatically as the new lists appear.

*and* it filters duplicates too.

Oops - switched "." and "\" chars
  
* $ ^TO_\/${PERL_LIST}@perl.\org

should of course be

* $ ^TO_\/${PERL_LIST}@perl\.org

Alan Burlison

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About