[svn:parrot] r45142 - trunk/lib/Parrot

petdance at svn.parrot.org petdance at svn.parrot.org
Wed Mar 24 01:23:41 UTC 2010


Author: petdance
Date: Wed Mar 24 01:23:40 2010
New Revision: 45142
URL: https://trac.parrot.org/parrot/changeset/45142

Log:
move the sub out of the empty block

Modified:
   trunk/lib/Parrot/Distribution.pm

Modified: trunk/lib/Parrot/Distribution.pm
==============================================================================
--- trunk/lib/Parrot/Distribution.pm	Wed Mar 24 01:23:15 2010	(r45141)
+++ trunk/lib/Parrot/Distribution.pm	Wed Mar 24 01:23:40 2010	(r45142)
@@ -580,11 +580,9 @@
 
 =cut
 
-{
-    sub is_pir_exemption {
-        my ( $self, $file ) = @_;
-        $file->path =~ m{/ext/};
-    }
+sub is_pir_exemption {
+    my ( $self, $file ) = @_;
+    return $file->path =~ m{/ext/};
 }
 
 


More information about the parrot-commits mailing list