UML::PlantUML::Encoder - Provides PlantUML Language's Encoding in Perl
Encodes PlantUML Diagram Text using the PlantUML Encoding Standard described at http://plantuml.com/text-encoding
Version 0.02
use UML::PlantUML::Encoder qw(encode_p); my $encoded = encode_p(qq{ Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response }); print "http://www.plantuml.com/plantuml/uml/$encoded"; print "http://www.plantuml.com/plantuml/png/$encoded"; print "http://www.plantuml.com/plantuml/svg/$encoded"; print "http://www.plantuml.com/plantuml/txt/$encoded";
The only Subroutine that this module exports is encode_p
encode_p
Encoded in UTF-8
Compressed using Deflate algorithm
Transform to String of characters that contains only digits, letters, underscore and minus character
Transform adjacent bytes
Reencoded in ASCII using a transformation close to base64
Encodes diagram text descriptions
Rangana Sudesha Withanage, <rwi at cpan.org>
<rwi at cpan.org>
Please report any bugs or feature requests to bug-uml-plantuml-encoder at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=UML-PlantUML-Encoder. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-uml-plantuml-encoder at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc UML::PlantUML::Encoder
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=UML-PlantUML-Encoder
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/UML-PlantUML-Encoder
CPAN Ratings
https://cpanratings.perl.org/d/UML-PlantUML-Encoder
Search CPAN
https://metacpan.org/release/UML-PlantUML-Encoder
This software is copyright (c) 2019 by Rangana Sudesha Withanage.
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 UML::PlantUML::Encoder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UML::PlantUML::Encoder
CPAN shell
perl -MCPAN -e shell install UML::PlantUML::Encoder
For more information on module installation, please visit the detailed CPAN module installation guide.