projects
/
p5sagit/Devel-Declare.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d17a5ab
)
Add a failing testcase for string eval mangling if there's a hints hash.
Florian Ragwitz [Wed, 5 Nov 2008 18:57:58 +0000 (18:57 +0000)]
t/eval.t
patch
|
blob
|
blame
|
history
diff --git
a/t/eval.t
b/t/eval.t
index
fbcc6ca
..
13b2d72
100644
(file)
--- a/
t/eval.t
+++ b/
t/eval.t
@@
-15,6
+15,8
@@
sub handle_method {
use Devel::Declare 'method' => \&handle_method;
+BEGIN { $^H{foo} = 'bar' }
+
eval "method bar { 42 }";
diag $@ if $@;