Next Program Repair Shop 206

else / if

        Subject: Retrieving an Entry Within a File
        Message-Id: <MPG.139f24a68ea4317f989682@News.CIS.DFN.DE>
        if ($device eq $_) {
        $mail{To} = 'pager@domain.com'; } else { 
        if ($device ne $_) {$mail{To} = 'email@domain.com'; }
        if ($device eq $_) {
          $mail{To} = 'pager@domain.com'; 
        } elsif ($device ne $_) {
          $mail{To} = 'email@domain.com'; 
        }
        if ($device eq $_) {
          $mail{To} = 'pager@domain.com'; 
        } else {
          $mail{To} = 'email@domain.com'; 
        }
        $mail{To} = ($device eq $_) ? 'pager@domain.com'
                                    : 'email@domain.com'; 
        $mail{To} = ($device eq $_ ? 'pager' : 'email') 
                    . '@domain.com';


Next Copyright © 2002 M. J. Dominus