NAME
Data::Semantic::URI::file - Semantic data class for file URIs
VERSION
version 1.100850
SYNOPSIS
my $obj = Data::Semantic::URI::file->new;
if ($obj->is_valid('...')) {
# ...
}
DESCRIPTION
This class can tell whether a value is a file URI, as defined by RFC 1738. The valid()
method will respect the inherited keep
boolean attribute.
If keep
is set, kept()
will return a hash with the following keys/value pairs:
- URI
-
The complete URI.
scheme
-
The scheme.
host_and_path
-
The part of the URI following "file://".
host
-
The hostname
path_with_slash
-
The path name, including the leading slash.
path_no_slash
-
The path name, without the leading slash.
INSTALLATION
See perlmodinstall for information and options on installing Perl modules.
BUGS AND LIMITATIONS
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.
AVAILABILITY
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.
AUTHOR
Marcel Gruenauer <marcel@cpan.org>
COPYRIGHT AND LICENSE
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.