Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

i think this shorter idiom will work

  • Loading branch information...
commit d9275f5ff4a261e22413c294c73968baa56bc600 1 parent 8cc5b10
John Beppu authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/Squatting.pm
3  lib/Squatting.pm
View
@@ -28,8 +28,7 @@ sub import {
my $p = (caller)[0];
if ($m ne 'Squatting') {
- $m->load_components(grep /::/, @_) if (@_);
- return;
+ return $m->load_components(grep /::/, @_);
}
push @{$p.'::ISA'}, 'Squatting';
Please sign in to comment.
Something went wrong with that request. Please try again.