Alien::astyle - Find or build astyle, the Artistic Style code formatter
From a Perl script
use Alien::astyle; use Env qw(@PATH); unshift @PATH, Alien::astyle->bin_dir(); # `astyle` command is now in your path
From Alien::Base Build.PL
use Alien:Base::ModuleBuild; my $builder = Module::Build->new( ... alien_bin_requires => [ 'Alien::astyle' ], ... ); $builder->create_build_script;
This package can be used by other CPAN modules that require astyle.
William N. Braswell, Jr. <wbraswell@cpan.org>
This software is copyright (c) 2017 by William N. Braswell, Jr.;
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::astyle, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::astyle
CPAN shell
perl -MCPAN -e shell install Alien::astyle
For more information on module installation, please visit the detailed CPAN module installation guide.