[Bps-public-commit] r9732 - DBIx-SearchBuilder/trunk/SearchBuilder

ruz at bestpractical.com ruz at bestpractical.com
Fri Nov 23 17:30:04 EST 2007


Author: ruz
Date: Fri Nov 23 17:30:03 2007
New Revision: 9732

Modified:
   DBIx-SearchBuilder/trunk/SearchBuilder/Record.pm

Log:
* minor, don't assign to local variable, just return it

Modified: DBIx-SearchBuilder/trunk/SearchBuilder/Record.pm
==============================================================================
--- DBIx-SearchBuilder/trunk/SearchBuilder/Record.pm	(original)
+++ DBIx-SearchBuilder/trunk/SearchBuilder/Record.pm	Fri Nov 23 17:30:03 2007
@@ -386,8 +386,7 @@
 
 sub Id  {
     my $pkey = $_[0]->_PrimaryKey();
-    my $ret = $_[0]->{'values'}->{$pkey};
-    return $ret;
+    return $_[0]->{'values'}->{ $pkey };
 }
 
 



More information about the Bps-public-commit mailing list