WWW::PlantUML - a simple Perl remote client interface to a plantuml server.
Version 0.03
use WWW::PlantUML; my $puml = WWW::PlantUML->new; my $url = $puml->fetch_url(qq{ Alice -> Bob : hello }, 'png'); print $url; # prints http://www.plantuml.com/plantuml/png/~169NZKb1GSCp9J4vLqBLJSCfFKh1Io4ZDoSdd0W1EMmQV
Plantuml is a library for generating UML diagrams from a simple text markup language.
This is a simple Perl remote client interface to a plantuml server using the same custom encoding used by most other plantuml clients. Perl was missing from the list.
There are other plantuml Perl libraries, like PlantUML::ClassDiagram::Parse, they provide only parsing capabilities for Class Diagrams. In contrast WWW::PlantUML module provides accessing any UML Diagram Type in various formats supported by any plantUML server via HTTP Protocol.
This client defaults to the public plantuml server, but can be used against any server.
Constructor.
Can be optionally passed a URL to the PlantUML Server.
Defaults to http://www.plantuml.com/plantuml
First parameter is PlantUML Syntax as a String.
Optionally second parameter is the format of the generated diagram as a String.
Default is Text Format.
Rangana Sudesha Withanage, <rwi at cpan.org>
<rwi at cpan.org>
Please report any bugs or feature requests to bug-www-plantuml at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-PlantUML. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-www-plantuml at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc WWW::PlantUML
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-PlantUML
GitHub Repository
https://github.com/ranwitter/perl5-WWW-PlantUML
CPAN Ratings
https://cpanratings.perl.org/d/WWW-PlantUML
Search CPAN
https://metacpan.org/release/WWW-PlantUML
Author is inspired by the work of WWW::xkcd, which was written by Sawyer X.
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 WWW::PlantUML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::PlantUML
CPAN shell
perl -MCPAN -e shell install WWW::PlantUML
For more information on module installation, please visit the detailed CPAN module installation guide.