File: 01-env-check.t

package info (click to toggle)
libdata-tablereader-perl 0.021-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 392 kB
  • sloc: perl: 2,340; makefile: 2; sh: 1
file content (24 lines) | stat: -rw-r--r-- 397 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /usr/bin/env perl
use strict;
use warnings;
use Test::More tests => 1;

diag "Checking optional modules";
for (qw(
	Text::CSV
	Text::CSV_XS
	Archive::Zip
	Spreadsheet::XLSX
	Spreadsheet::ParseXLSX
	Spreadsheet::ParseExcel
	Type::Tiny
	Types::Standard
)) {
	if (eval "require $_") {
		diag "Have $_ ".$_->VERSION;
	} else {
		diag "No   $_";
	}
}

pass('This is just for CPAN testers reports');