xriresolve.pl - CLI to Resolver for eXtensible Resource Identifiers
xriresolve.pl [-n] [-l] [-s service] [-t type] XRI
This is the command line interface to the XRI Resolver library
This is the command line interface to the XRI Resolver library. In its default form (with no options) it returns (to STDOUT) the XRI Descriptor for the Authority portion of the passed XRI. Tracing information is written to STDERR.
A return value that begins with the string "$error: " indicates an error. Text following the $error string attempts to describe the error, and is documented in the XRI library.
-l return the Local Access URI (as opposed to the XRIDescriptor XML, which is the current default behavior)
-n argument to turn off tracing
-s service return URI to Authority that matches service
-t type return URI to Authority that matches type
Note that when returning the XRI Descriptor, the local access URI segment(s) - e.g. anything after the first forward slash - are lost. Find them!
Once tracing is fixed in the XRI library, add a -d (debug) flag to turn *on* tracing
XRI(3)
Mailing list: http://idcommons.net/cgi-bin/mailman/listinfo/icdev
Identity Commons wiki: http://wiki.idcommons.net/
Fen Labalme, <fen@idcommons.net>
Copyright 2004 Identity Commons
See LICENSE.
To install XRI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XRI
CPAN shell
perl -MCPAN -e shell install XRI
For more information on module installation, please visit the detailed CPAN module installation guide.