Hello,
   I am looking to search and replace a pattern within a file(not on command
line). That is, I have a file name within the Perl script and I need to
search for a pattern and replace the same.

Eg. search for the pattern TOTAL and replace with T.TOT

Can I do this in a single statement ? That is without doing a "open" command
on the file and then looking for the above pattern line-by-line or a whole
array and then outputting the replaced pattern into a new file name ?
  Is there something like "sed" in Perl ?

Advance thanks for your input.

-Praveen



IMPORTANT-
(1) The contents of this email and its attachments are confidential and 
intended only for the individual or entity named above. Any unauthorised
use of the contents is expressly prohibited.  If you receive this email 
in error, please contact us, then delete the email.
(2) ACNielsen collects personal information to provide and market our 
services. For more information about use, disclosure and access see our 
privacy policy at <www.acnielsen.com.au> or contact us on 
[EMAIL PROTECTED]
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to