Data::Semantic::URI::http - Semantic data class for http URIs
version 1.100850
my $obj = Data::Semantic::URI::http->new; if ($obj->is_valid('...')) { # ... }
This class can tell whether a value is an HTTP URI, as defined by RFCs 2396 and 2616. The valid() method will respect the scheme attribute and the inherited keep boolean attribute.
valid()
scheme
keep
See Regexp::Common::URI::http for the meaning of scheme.
If keep is set, kept() will return a hash with the following keys/value pairs:
kept()
The complete URI.
The scheme.
host
The host (name or address).
port
The port (if any).
abspath_full
The absolute path, including the query and leading slash.
abspath_full_no_slash
The absolute path, including the query, without the leading slash.
abspath_no_query
The absolute path, without the query or leading slash.
query
The query, without the question mark.
See perlmodinstall for information and options on installing Perl modules.
No bugs have been reported.
Please report any bugs or feature requests through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=Data-Semantic-URI.
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/Data-Semantic-URI/.
The development version lives at http://github.com/hanekomu/Data-Semantic-URI/. Instead of sending patches, please fork this project using the standard git and github infrastructure.
Marcel Gruenauer <marcel@cpan.org>
This software is copyright (c) 2007 by Marcel Gruenauer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Data::Semantic::URI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Semantic::URI
CPAN shell
perl -MCPAN -e shell install Data::Semantic::URI
For more information on module installation, please visit the detailed CPAN module installation guide.