From 6c30b2737f4adccfeb54a9c4c34a4d9a0d98ebb5 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 5 Jan 2011 23:10:53 -0600 Subject: update test suite --- t/lib/CompileTime.pm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 t/lib/CompileTime.pm (limited to 't/lib') diff --git a/t/lib/CompileTime.pm b/t/lib/CompileTime.pm new file mode 100644 index 0000000..925bc18 --- /dev/null +++ b/t/lib/CompileTime.pm @@ -0,0 +1,15 @@ +package CompileTime; +use strict; +use warnings; + +use Package::Stash; + +our $foo = 23; + +BEGIN { + my $stash = Package::Stash->new(__PACKAGE__); + $stash->add_symbol('$bar', $foo); + $stash->add_symbol('$baz', $stash->get_symbol('$foo')); +} + +1; -- cgit v1.2.3-54-g00ecf