[Omaha.pm] short is good

Jay Hannah jhannah at omnihotels.com
Tue Apr 20 20:03:35 PDT 2010


laugh... caught myself changing code to this

 

   my $response;

   unless ( $response = $self->send() ) {

     return 0;

   }

   return $response;

 

this is much better:

 

   return $self->send();

 

:)

 

j

 

 

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


More information about the Omaha-pm mailing list