diff Lib/IMPL/template.pm @ 185:ae8072f2f2a3

IMPL::Web::View::TTDocument tests, fixes
author cin
date Thu, 29 Mar 2012 18:22:15 +0400
parents d1676be8afcc
children 4d0e1962161c
line wrap: on
line diff
--- a/Lib/IMPL/template.pm	Thu Mar 29 01:54:20 2012 +0400
+++ b/Lib/IMPL/template.pm	Thu Mar 29 18:22:15 2012 +0400
@@ -106,6 +106,15 @@
 	$this->items->AddLast( $this->ItemType->new( key => $key, value => $value ) );
 }
 
+package main;
+
+use IMPL::require {
+	TFoo => 'Some::Package::Foo',
+	TBar => 'Some::Package::Bar'
+};
+
+my $TCol = spec MyCollection(TFoo, TBar);
+
 =end code
 
 =head1 DESCRIPTION