projects
/
p5sagit/namespace-clean.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
091052b3d1cc2cbac3cb7ec47e264ae46c5b8675
[p5sagit/namespace-clean.git]
/
t
/
08-const-sub.t
1
use strict;
2
use warnings;
3
4
use Test::More tests => 2;
5
6
use constant CONST => 123;
7
use namespace::clean;
8
9
my $x = CONST;
10
is $x, 123;
11
12
ok eval("!defined(&CONST)");