diff Lib/IMPL/Code/Binding.pm @ 230:6d8092d8ce1b

*reworked IMPL::Security *reworked IMPL::Web::Security *refactoring
author sergey
date Mon, 08 Oct 2012 03:37:37 +0400
parents b6cde007a175
children
line wrap: on
line diff
--- a/Lib/IMPL/Code/Binding.pm	Sat Sep 29 02:34:47 2012 +0400
+++ b/Lib/IMPL/Code/Binding.pm	Mon Oct 08 03:37:37 2012 +0400
@@ -11,7 +11,7 @@
 	
 	$vars ||= [];
 	
-	die ArgumentException( vars => 'A reference to an array is required')
+	die ArgumentException->new( vars => 'A reference to an array is required')
 	   unless ref $vars eq 'ARRAY';
 	
 	m/^\w+$/ or die ArgumentException->new( vars => 'A valid variable name is required', $_ )