Alien::bison - Find or build bison, the parser generator
version 0.22
From a Perl script
use Alien::bison; use Env qw( @PATH ); unshift @PATH, Alien::bison->bin_dir; system 'bison', ...;
From alienfile:
use alienfile; share { .. requires 'Alien::bison' => 0; build [ '%{bison} ...' ]; ... };
From Build.PL for Alien::Base::ModuleBuild:
use Alien:Base::ModuleBuild; my $builder = Module::Build->new( ... alien_bin_requires => [ 'Alien::bison' ], ... ); $builder->create_build_script;
This package can be used by other CPAN modules that require bison, the GNU Parser generator based on YACC.
%{bison}
Returns the name of the bison command. Usually just bison
.
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2017 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.