Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Filtering files with lists of substitution patterns

by golux (Chaplain)
on Aug 29, 2013 at 13:21 UTC ( [id://1051433]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @all_patterns = (
        qr/#.*/,
    ...
        qr/^,/,
        # ... and so on ...
    );
    
  2. or download this
     
    sub apply_patterns {
        my ($string, @indexes) = @_;
    ...
            s/$regex//;
        }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1051433]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found