Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Substitution problem.

by snax (Hermit)
on Nov 25, 2000 at 20:13 UTC ( [id://43314]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $replacements{quotemeta($array1{$count})} = $array2{$count};
    
  2. or download this
    my $repl_str = join( '|', keys %replacements);
    $someText =~ s/($replstr)/%replacements{$1}/g;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2024-04-19 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found