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
Hi Mark You have opened OUTFILE (OUTFILE, "<$output" ) in read mode . To write to this file you need to open in write mode (">$output"). Sunita -Original Message- From: mark baumeister [mailto:mlfmp...@gmail.com] Sent: Tuesday, April 12, 2011 6:18 AM To: beginners@perl.org Subje