my @repl2 = grep { /cmvobsvr1mum/ } @repl >> /tmp/log ;
Hi,that should not work certainly,:) You could open a file and optain a filehandle and write to this filehandle. for example: open FILE,">",$filename or die $!; .... print FILE @repl2; .... close FILE; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>