diff lib/IMPL/require.pm @ 422:b0481c071bea ref20150831

IMPL::Config::Container tests, YAMLConfiguration now works and tested
author cin
date Sun, 20 Aug 2017 00:20:41 +0300
parents c6e90e02dd17
children c27434cdd611
line wrap: on
line diff
--- a/lib/IMPL/require.pm	Sun Jul 16 22:59:39 2017 +0300
+++ b/lib/IMPL/require.pm	Sun Aug 20 00:20:41 2017 +0300
@@ -27,10 +27,10 @@
 		_trace("$alias => $class");
 		$level++;
 
-		$class = _require($class);
+		my $c = _require($class);
 
 		*{"${caller}::$alias"} = sub () {
-			$class;
+			$c;
 		};
 
 		$level--;