summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@sardina.(none)>2009-06-28 10:40:35 +0200
committerdakkar <dakkar@sardina.(none)>2009-06-28 10:40:35 +0200
commitfed711ebd5b4c043f0a7a665a2e7f6024ea87b1d (patch)
tree48e6214ee9fc42eaea15c1a327db48e2ef93e1fd
downloadPPIx-XPath-fed711ebd5b4c043f0a7a665a2e7f6024ea87b1d.tar.gz
PPIx-XPath-fed711ebd5b4c043f0a7a665a2e7f6024ea87b1d.tar.bz2
PPIx-XPath-fed711ebd5b4c043f0a7a665a2e7f6024ea87b1d.zip
skeleton
-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