'Test::Compile' lets you check the whether your perl modules and scripts compile properly, results are reported in standard 'Test::Simple' fashion.
The basic usage - as shown above, will locate your perl files and test that they all compile.
Module authors can (and probably should) include the following in a t/00-compile.t file and have 'Test::Compile' automatically find and check all Perl files in a module distribution:
use strict; use warnings; use Test::Compile qw(); my $test = Test::Compile->new(); $test->all_files_ok(); $test->done_testing();
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
3.3.1-bp156.1.1 info | GA Release | 2023-09-01 | 15 SP6 |
|
|
3.1.0-bp155.1.5 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
3.0.1-bp154.1.31 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
1.3.0-bp153.1.12 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
1.3.0-bp152.3.15 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
1.3.0-bp151.3.1 info | GA Release | 2019-07-18 | 15 SP1 |
|
|
1.3.0-bp151.2.10 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
1.3.0-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|