"Nishi Bhonsle" schreef: > open FILE,"+<$logfile"; > @contents = <FILE>;
You are using FILE and FILE2. You are closing FILE2, but never opened it. Start using lexical filehandles, named like $fh_in and $fh_out. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>