Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Version 20090620

  • Loading branch information...
commit 27a729e0eb11f4e36a655edc7cf800469271170a 1 parent 870adcb
@schwern schwern authored
View
9 Changes
@@ -1,3 +1,12 @@
+20090620 Sat Jun 20 01:26:59 PDT 2009
+ Performance
+ * Load PPI on demand to reduce load time (needed by perl5i)
+
+ Other
+ * Separated signature translation between methods and subroutines
+ (needed by perl5i)
+
+
20081028 Tue Oct 28 00:45:48 PDT 2008
New Features
* Two or more slurpy parameters (ie. @foo or %bar) in a signature is
View
10 META.yml
@@ -1,6 +1,6 @@
---
name: Method-Signatures
-version: 20081025
+version: 20090620
author:
- 'Michael G Schwern <schwern@pobox.com>'
abstract: method declarations with signatures and no source filter
@@ -28,10 +28,10 @@ recommends:
provides:
Method::Signatures:
file: lib/Method/Signatures.pm
- version: 20081028
+ version: 20090620
Method::Signatures::Parser:
file: lib/Method/Signatures/Parser.pm
-generated_by: Module::Build version 0.3
+generated_by: Module::Build version 0.33
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.2.html
- version: 1.2
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
View
2  lib/Method/Signatures.pm
@@ -10,7 +10,7 @@ use Devel::BeginLift;
use Data::Alias ();
use Readonly;
-our $VERSION = '20081028';
+our $VERSION = '20090620';
our $DEBUG = $ENV{METHOD_SIGNATURES_DEBUG} || 0;
View
3  lib/Method/Signatures/Parser.pm
@@ -3,8 +3,6 @@ package Method::Signatures::Parser;
use strict;
use warnings;
-use PPI;
-use PPI::Dumper;
use base qw(Exporter);
our @EXPORT = qw(split_proto);
@@ -13,6 +11,7 @@ sub split_proto {
my $proto = shift;
return unless $proto =~ /\S/;
+ require PPI;
my $ppi = PPI::Document->new(\$proto);
my $statement = $ppi->find_first("PPI::Statement");
my $token = $statement->first_token;
Please sign in to comment.
Something went wrong with that request. Please try again.