MarpaX::ESLIF::URI::tag - URI::tag syntax as per RFC4151
version 0.005
MarpaX::ESLIF::URI::tag inherits, and eventually overwrites some, methods of MarpaX::ESLIF::URI::_generic.
Overwrites parent's bnf implementation. Returns the BNF used to parse the input.
Overwrite parent's grammar implementation. Returns the compiled BNF used to parse the input as MarpaX::ESLIF::Grammar singleton.
Returns the tag entity. $type is either 'decoded' (default value), 'origin' or 'normalized'.
$type
Returns the tag authority. $type is either 'decoded' (default value), 'origin' or 'normalized'.
Returns the tag date as a DateTime object. $type is either 'decoded' (default value), 'origin' or 'normalized'.
Note that date in a tag URI is always expressed using UTC timezone.
Returns the tag date's year. $type is either 'decoded' (default value), 'origin' or 'normalized'.
Returns the tag date's month. $type is either 'decoded' (default value), 'origin' or 'normalized'.
Returns the tag date's day. $type is either 'decoded' (default value), 'origin' or 'normalized'.
Returns the tag's DNS name when entity is made from it. $type is either 'decoded' (default value), 'origin' or 'normalized'.
As per RFC4151: "It is RECOMMENDED that the domain name should be in lowercase form. Alternative formulations of the same authority name will be counted as distinct".
Returns the tag email when entity is made from it. $type is either 'decoded' (default value), 'origin' or 'normalized'.
Errata 1485 has been applied.
RFC4151, MarpaX::ESLIF::URI::_generic, DateTime
Jean-Damien Durand <jeandamiendurand@free.fr>
This software is copyright (c) 2017 by Jean-Damien Durand.
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 MarpaX::ESLIF::URI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MarpaX::ESLIF::URI
CPAN shell
perl -MCPAN -e shell install MarpaX::ESLIF::URI
For more information on module installation, please visit the detailed CPAN module installation guide.