Data::Semantic::URI::ftp - Semantic data class for ftp URIs


Data-Semantic-URI documentation  | view source Contained in the Data-Semantic-URI distribution.

Index


NAME

Top

Data::Semantic::URI::ftp - Semantic data class for ftp URIs

VERSION

Top

version 1.100850

SYNOPSIS

Top

    my $obj = Data::Semantic::URI::ftp->new;
    if ($obj->is_valid('...')) {
       #  ...
    }

DESCRIPTION

Top

This class can tell whether a value is an FTP URI, as defined by RFCs 1738 and 2396. The valid() method will respect the type and password attributes and the inherited keep boolean attribute.

See Regexp::Common::URI::ftp for the meaning of type and password.

If keep is set, kept() will return a hash with the following keys/value pairs:

URI

The complete URI.

scheme

The scheme.

username

The userinfo, or if password is used, the username.

password

If password is used, the password, else "undef".

host

The hostname or IP address.

port

The port number

abspath_full

The full path and type specification, including the leading slash.

abspath_full_no_slash

The full path and type specification, without the leading slash.

abspath_full_no_slash_no_query

The full path, without the type specification nor the leading slash.

type

The value of the type specification.

INSTALLATION

Top

See perlmodinstall for information and options on installing Perl modules.

BUGS AND LIMITATIONS

Top

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

Top

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

Top

  Marcel Gruenauer <marcel@cpan.org>

COPYRIGHT AND LICENSE

Top


Data-Semantic-URI documentation  | view source Contained in the Data-Semantic-URI distribution.