Re: writing to output using filehandles

2011-04-12 Thread Rob Dixon
On 12/04/2011 01:47, mark baumeister wrote: Hi I am having trouble with my search and replace code in the program below. I can sucessfully copy the input file to the output file but my search and replace is not working. Any hints on what I am doing wrong? Hello Mark. You must tell us what i

RE: writing to output using filehandles

2011-04-12 Thread Sunita Rani Pradhan
AM To: beginners@perl.org Subject: writing to output using filehandles Hi I am having trouble with my search and replace code in the program below. I can sucessfully copy the input file to the output file but my search and replace is not working. Any hints on what I am doing wrong? Thanks, M #!/

writing to output using filehandles

2011-04-12 Thread mark baumeister
Hi I am having trouble with my search and replace code in the program below. I can sucessfully copy the input file to the output file but my search and replace is not working. Any hints on what I am doing wrong? Thanks, M #!/usr/bin/perl -w use strict; my $input; my $output; my $search; my $rep