Apache::XPointer::RDQL::Parser - Apache::XPointer::RDQL specific methods for RDQL::Parser
use Apache:::XPointer::RDQL::Parser; my $query = "SELECT ..."; my $parser = Apache::XPointer::RDQL::Parser->new(); $parser->parse($query); foreach my $var ($parser->bind_variables()) { my ($prefix, $localname) = $parser->bind_predicate($var); my $uri = $parser->lookup_namespaceURI($prefix); }
Apache::XPointer::RDQL specific methods for RDQL::Parser.
This pacakages subclasses RDQL::Parser a defines the following helper methods :
Returns the original RDQL query string.
Returns a list.
Returns a list containting a prefix and a localname.
Returns a string.
1.1
$Date: 2004/11/16 04:36:26 $
Aaron Straup Cope <ascope@cpan.org>
Apache::XPointer
RDQL::Parser
Copyright (c) 2004 Aaron Straup Cope. All rights reserved.
This is free software, you may use it and distribute it under the same terms as Perl itself.
To install Apache::XPointer::RDQL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::XPointer::RDQL
CPAN shell
perl -MCPAN -e shell install Apache::XPointer::RDQL
For more information on module installation, please visit the detailed CPAN module installation guide.