Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Tux's scratchpad

by Tux (Abbot)
on Jan 25, 2007 at 13:19 UTC ( #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
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2020-09-26 02:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I dont succeed, I










    Results (141 votes). Check out past polls.

    Notices?