1Alien::PCRE2(3) User Contributed Perl Documentation Alien::PCRE2(3)
2
3
4
6 Alien::PCRE2 - Find or download/build/install libpcre2 in PCRE2, the
7 new Perl Compatible Regular Expression engine
8
10 From a Perl script
11
12 use Alien::PCRE2;
13
14 use Env qw(@PATH);
15 unshift @PATH, Alien::PCRE2->bin_dir();
16 system 'pcre2-config';
17 system 'pcre2grep';
18
19 print Alien::PCRE2->dist_dir();
20
22 This package can be used by other CPAN modules that require PCRE2 or
23 libpcre2.
24
26 William N. Braswell, Jr. <wbraswell@cpan.org>
27
29 This software is copyright (c) 2017 by William N. Braswell, Jr.;
30
31 This is free software; you can redistribute it and/or modify it under
32 the same terms as the Perl 5 programming language system itself.
33
34
35
36perl v5.32.1 2021-01-26 Alien::PCRE2(3)