James G Smith > RDF-Server > RDF::Server::Constants

Download:
RDF-Server-0.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

RDF::Server::Constants - useful constants used by the framework

SYNOPSIS ^

 use RDF::Server::Constants qw(HTTP_OK :rdf);

DESCRIPTION ^

A number of constants are available. These are grouped into various categories.

CONSTANTS ^

:all

This will import all of the constants provided by this module.

:ns

This will import all of the namespace constants (i.e., those ending in _NS). Each of the XML namespace categories has a _NS constant for that namespace (e.g., FOAF has FOAF_NS).

FOAF (:foaf)

RSS1 (:rss1)

DC (:dc)

COMMENT (:comment)

XML (:xml)

ATOM (:atom)

APP (:app)

RDF (:rdf)

RDFS (:rdfs)

HTTP Status (:status)

TODO ^

Only namespaces and a few HTTP status codes are defined at present. These will be expanded in a future release.

AUTHOR ^

James Smith, <jsmith@cpan.org>

LICENSE ^

Copyright (c) 2008 Texas A&M University.

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.