Hi

I am new to perl text processing...

I want to replace a text from a file say a.txt.

a.txt contains

line1: this is 
line 2: a
line 3: apple 

I wanted to replace to "this is an orange"..

When I see perl change.pl <FILENAME>

it shld change all the occurence of "this is a apple" to "this is an orange". Not that 
this search text can be split in multilines.
Do perl have some inbulit functions to do the same.

Thanks
Anish





Reply via email to