CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
Perl Program to change particular pattern with other value

 



anuchoudary
New User

Sep 11, 2014, 9:43 AM

Post #1 of 2 (9184 views)
Perl Program to change particular pattern with other value Can't Post

Hi,

Perl program to change a particular pattern with other values that are present in a text file.
Example : A file contains around 1000 patterns say "computer:" all this 1000 patterns "computer:" should be changed to patterns given in a test file.
Say file has following Content
abc
efg
ejk
...
The file which has compute: should be changed to abc next efg and ejk ..etc

Any help is appreciated .

Thanks,
Anusha


Laurent_R
Veteran / Moderator

Sep 11, 2014, 10:29 AM

Post #2 of 2 (9183 views)
Re: [anuchoudary] Perl Program to change particular pattern with other value [In reply to] Can't Post

Have you tried something so far?

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives