projects
/
p5sagit/namespace-clean.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
history
|
HEAD
drop Package::Stash dependency
[p5sagit/namespace-clean.git]
/
t
/
08-const-sub.t
Commit
Line
Data
226432f6
1
use strict;
2
use warnings;
3
39bc2d6e
4
use Test::More tests => 2;
226432f6
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)");