Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^6: Tokenizing and qr// <=> /g interplay

by ff (Hermit)
on Apr 25, 2005 at 13:37 UTC ( [id://451186]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Tokenizing and qr// <=> /g interplay
in thread Tokenizing and qr// <=> /g interplay

Okay, so an array of [ qr, $good ] combos could help me if my example was something like:

for my $file_in_string_form ( @all_files ) { for my $crummy_good_ar (@corrections_to_make) { my ($crummy, $good) = @$crummy_good_ar; $file_in_string_form =~ s/$crummy/$good/ig; } }
And in the meantime, if I have no additional files to process, I might as well compile the regexen as needed?

Thanks! I think I understand now. :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-06-16 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.