[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Omaha.pm] shorter is gooder



Another tiny code cleanup...

 

j

 

 

 

BEFORE

   next if (! $packageCode or $packageCode =~ /ZUPSUITE/ or

       substr( $packageCode, 0, 1 ) ne "Z" );

 

AFTER

   next if (!$packageCode or $packageCode =~ /^([^Z]|ZUPSUITE)/);