[Bps-public-commit] r19912 - Net-Google-Code/trunk/lib/Net/Google/Code/Issue
jesse at bestpractical.com
jesse at bestpractical.com
Fri Jun 5 09:24:28 EDT 2009
Author: jesse
Date: Fri Jun 5 09:24:28 2009
New Revision: 19912
Modified:
Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Search.pm
Log:
Slightly better Params::Validate idiom
Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Search.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Search.pm (original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Search.pm Fri Jun 5 09:24:28 2009
@@ -30,9 +30,8 @@
sub updated_after {
my $self = shift;
- validate_pos(@_, { isa => 'DateTime' } );
- my $after = shift;
-
+ my ($after) = validate_pos(@_, { isa => 'DateTime' } );
+
my @results;
require XML::Atom::Feed;
More information about the Bps-public-commit
mailing list