Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: multiple substitution

by aaron_baugher (Curate)
on Aug 25, 2012 at 16:39 UTC ( [id://989736]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        $s =~ s/$_/$h{$_}/g for keys %h;
    
  2. or download this
    abaugher@bannor> cat 989705.pl 
    #!/usr/bin/env perl
    use Modern::Perl;
    ...
    forloop 9.75e-02/s      --    -96%    -99%
    regexpa     2.40/s   2364%      --    -74%
    pipes       9.08/s   9213%    278%      --
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-19 20:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found