Class-XPath

 view release on metacpan or  search on metacpan

XPath.pm  view on Meta::CPAN

package Class::XPath;

use 5.006;
use strict;
use warnings;

our $VERSION = '1.4';
use Carp qw(croak);
use constant DEBUG => 0;

# regex fragment for names in XPath expressions
our $NAME = qr/[\w:]+/;

# declare prototypes
sub foreach_node (&@);

# handle request to build methods from 'use Class::XPath'.
sub import {
    my $pkg = shift;
    return unless @_;
    my $target = (caller())[0];



( run in 1.117 second using v1.01-cache-2.11-cpan-364913b4093 )