[Omaha.pm] shorter is gooder

Jay Hannah jhannah at omnihotels.com
Mon Sep 20 11:29:18 PDT 2010


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)/);

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/omaha-pm/attachments/20100920/e591e599/attachment.html>


More information about the Omaha-pm mailing list