The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::PlantUML - a simple Perl remote client interface to a plantuml server.

VERSION

Version 0.01

SYNOPSIS

    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/69NZKb1moazIqBLJSCp9J4vLi5B8ICt9oUS204a_1dy0

DESCRIPTION

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.

SUBROUTINES/METHODS

new

Constructor.

Can be optionally passed a URL to the PlantUML Server.

Defaults to http://www.plantuml.com/plantuml

fetch_url

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.

AUTHOR

Rangana Sudesha Withanage, <rwi at cpan.org>

BUGS

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.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc WWW::PlantUML

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

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.