Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Tux's scratchpad

by Tux (Canon)
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
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2022-09-28 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (125 votes). Check out past polls.

    Notices?