RE: [Perl-unix-users] Script Help Please
foreach (@lines){ chomp; if (/\bUP\b/ && /\b$server_name\b/) { s/\t+/|/g; s/missed //g; print "$_\n"; } close inlogfile; } } close listfile; close outlogfile; Thanks, Craig >>> Steve Aaron <[EMAI
RE: [Perl-unix-users] Script Help Please
here the server name falls then it will be more efficient to put the text that occurs least frequently on the left of the && as the right-hand side is only evaluated if the left-hand expression returns true. Steve Aaron -Original Message- From: Craig Sharp [mailto:[EMAIL