Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^5: using hashes

by kennethk (Abbot)
on Sep 26, 2013 at 17:44 UTC ( #1055871=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s/\b$find\b/$replace/g
    
  2. or download this
    for my $line (@lines) {
        for my $find(sort {length($b) <=> length($a)} keys %ids) {
         $line =~ s/$find/$ids{$find}/g;
      }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2016-06-25 16:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.