Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Tux's scratchpad

by Tux (Canon)
on Jan 25, 2007 at 13:19 UTC ( [id://596469]=scratchpad: print w/replies, xml ) Need Help??

Feel free to comment on the development of Text::CSV_XS in this node.


        my @ids = map {
               s{<.+?>}                 {}gr
            =~ s{^(\d+(stnrdh{2}|))}  {NUMWORDS ($1)}er
            =~ s{(.)\.\w{2,5}?$}        {$1}r
            =~ s{&}                  {and}gr
            =~ s{&}                     {and}gr
            =~ s{Æ}                     {Ae}gr
            =~ s{Ç}                     {C}gr
            =~ s{Ü}                     {U}gr
            =~ s{(è|é|ê)}               {e}gr
            =~ s{#}                     {No}gr
            =~ s{ }                     {_}gr
            =~ s{^\w:.\-}             {}gr
            } grep { defined } @base;
my @array = map { some_sub (s/^[\*\+-] (.+)/$1/r, $opt); } @another_array;
sub fancy_map { my ($opt, $list) = @_; map { ref $_ ? fancy_map ($opt, $_); : do { my $before = $opt->{'before'} ? $opt->{'before'}.' ' : ''; my $after = $opt->{'after'} ? ' '.$opt->{'after'} : ''; $before.$_.$after; } } @{$list}; }
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-28 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found