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

NAME

Alien::Plotly::Orca - Finds or installs plotly-orca

VERSION

version 0.0000_01

SYNOPSIS

    use Alien::Plotly::Orca;
    use Config;

    if (Alien::Plotly::Orca->install_type eq 'share') {
        $ENV{PATH} = join(
            $Config{path_sep},
            Alien::Plotly::Orca->bin_dir,
            $ENV{PATH}
        );

        # get version
        my $version = Alien::Plotly::Orca->version;
    }

    # If install_type is not 'share' then it means plotly-orca
    # was detected from PATH when Alien::Plotly::Orca was installed.
    # So in either case now you should be able to do,
    print `orca -h`;

DESCRIPTION

This module finds plotly-orca or installs it.

CAVEATS

On Linux plotly-orca requires X service. If your host is headless you mostly need xvfb, either ran as a service, or ran as a wrapper every time like xvfb-run orca ....

For Mac OSX I can't really test it as I don't have such a system at hand. Travis CI does not seem to support Perl for OSX...

SEE ALSO

Alien, Chart::Plotly

https://github.com/plotly/orca

AUTHOR

Stephan Loyd <sloyd@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019 by Stephan Loyd.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.