☰
Debian Codegraph
@
0.10-3
/
/
t
/
warnings.t
☽
☼
t/warnings.t
code
plain
raw
symbols
SCIP
Artistic
or
GPL-1+
2012-2015, Salvador FandiƱo <
[email protected]
>
debian/copyright
1
use
strict
;
2
use
Test::More
;
3
4
my
$warnings
;
5
6
BEGIN {
7
$^W
= 1;
8
$warnings
= 0;
9
$SIG
{__WARN__} = sub {
$warnings
++ };
10
}
11
12
use
Math::Vector::Real
;
13
14
BEGIN { undef
$SIG
{__WARN__} }
15
16
is
(
$warnings
, 0, '0 warnings');
17
18
done_testing;
19