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

Re: search and replace from array values

by Tomte (Priest)
on Dec 06, 2005 at 13:36 UTC ( [id://514445]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @search = ("red", "orange", "blue");
    @replace = ("yellow", "black", "green"); 
    ...
    print $text,"\n"
    __END__
    my pig is yellow, my black is orange and the sky is green
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found