diff Lib/IMPL/Object/List.pm @ 168:6148f89bb7bf

IMPL::SQL::Schema::Traits::Diff alfa version IMPL::lang added hash traits
author sourcer
date Mon, 16 May 2011 04:30:38 +0400
parents 1f7a6d762394
children 4d0e1962161c
line wrap: on
line diff
--- a/Lib/IMPL/Object/List.pm	Thu May 12 08:57:19 2011 +0400
+++ b/Lib/IMPL/Object/List.pm	Mon May 16 04:30:38 2011 +0400
@@ -6,7 +6,7 @@
 use IMPL::Exception;
 
 sub as_list {
-    return wantarray ? @{$_[0]} : $_[0];
+    return $_[0];
 }
 
 sub CTOR {