summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.PL15
-rw-r--r--lib/PPIx/XPath.pm22
2 files changed, 37 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644
index 0000000..e183799
--- /dev/null
+++ b/Makefile.PL
@@ -0,0 +1,15 @@
+use inc::Module::Install;
+
+name 'PPIx-XPath';
+license 'perl';
+all_from 'lib/PPIx/XPath.pm';
+
+requires 'Tree::XPathEngine' => 0,
+ 'PPI' => '1.2',
+ 'perl' => '5.6.0',
+;
+
+test_requires 'Test::Most' => 0,
+;
+
+WriteAll;
diff --git a/lib/PPIx/XPath.pm b/lib/PPIx/XPath.pm
new file mode 100644
index 0000000..b91bbe1
--- /dev/null
+++ b/lib/PPIx/XPath.pm
@@ -0,0 +1,22 @@
+package PPIx::XPath;
+use strict;
+use warnings;
+use PPI;
+use 5.006;
+
+our $VERSION='2.01';
+
+1;
+__END__
+
+=head1 NAME
+
+PPIx::XPath - an XPath implementation for the PDOM
+
+=head1 AUTHOR
+
+Dan Brook <cpan@broquaint.com> original author
+
+Gianni Ceccarelli <dakkar@thenautilus.net> Tree::XPathEngine-based re-implementation
+
+=cut