File: using-another.pl

package info (click to toggle)
env-assert 0.015-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 424 kB
  • sloc: perl: 1,877; makefile: 8; sh: 7
file content (15 lines) | stat: -rw-r--r-- 352 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env perl
use strict;
use warnings;
use 5.010;
use Carp;

# ATTN. do not alter the line numbering. Error check in test depends on it.

use Env::Assert assert => {
    envdesc_file         => 'another-envdesc',
    break_at_first_error => 0,
};

say 'Control will reach this point if env requirements are fulfilled!' || croak 'ERROR';
exit 0;