Alien::Plotly::Orca - Finds or installs plotly-orca
version 0.0000_01
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`;
This module finds plotly-orca or installs it.
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 ....
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...
Alien, Chart::Plotly
https://github.com/plotly/orca
Stephan Loyd <sloyd@cpan.org>
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.
To install Alien::Plotly::Orca, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::Plotly::Orca
CPAN shell
perl -MCPAN -e shell install Alien::Plotly::Orca
For more information on module installation, please visit the detailed CPAN module installation guide.