NAME
MarpaX::ESLIF::URI::mailto - URI::mailto syntax as per RFC6068
VERSION
version 0.003
SUBROUTINES/METHODS
MarpaX::ESLIF::URI::mailto inherits, and eventually overwrites some, methods or MarpaX::ESLIF::URI::_generic.
$class->bnf
Overwrites parent's bnf implementation. Returns the BNF used to parse the input.
$class->grammar
Overwrite parent's grammar implementation. Returns the compiled BNF used to parse the input as MarpaX::ESLIF::Grammar singleton.
$self->to($type)
Returns the addresses as an array reference, that can be empty. $type
is either 'decoded' (default value), 'origin' or 'normalized'.
$self->headers($type)
Returns the headers as an array reference of single hashes, that can be empty. $type
is either 'decoded' (default value), 'origin' or 'normalized'.
There is no check of eventual duplicates, and it is reason why at every array indice, there is a hash reference where the key is a mailto header field, and the value is a mailto header value.
NOTES
The characters /
and ?
has been added to mailto syntax
SEE ALSO
RFC6068, MarpaX::ESLIF::URI::_generic
AUTHOR
Jean-Damien Durand <jeandamiendurand@free.fr>
COPYRIGHT AND LICENSE
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.