[Bps-public-commit] r17150 - sd/trunk/lib/App/SD/Replica

ruz at bestpractical.com ruz at bestpractical.com
Tue Dec 9 09:35:38 EST 2008


Author: ruz
Date: Tue Dec  9 09:35:36 2008
New Revision: 17150

Modified:
   sd/trunk/lib/App/SD/Replica/hm.pm

Log:
* { aa ? ... : bb => 'bb' } turns out as { (aa ? ... : bb) => 'bb' }
  what is not desired

Modified: sd/trunk/lib/App/SD/Replica/hm.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/hm.pm	(original)
+++ sd/trunk/lib/App/SD/Replica/hm.pm	Tue Dec  9 09:35:36 2008
@@ -146,7 +146,7 @@
     my $self = shift;
     my %args = @_;
     return $self->_user_info(
-        keys %args? %args : email => $self->hm_username
+        keys %args? (%args) : (email => $self->hm_username)
     );
 }
 



More information about the Bps-public-commit mailing list