Mercurial > pub > Impl
comparison Lib/IMPL/Object/Singleton.pm @ 166:4267a2ac3d46
Added Class::Template,
Rewritten SQL::Schema
'use parent' directive instead of 'use base'
author | wizard |
---|---|
date | Sat, 23 Apr 2011 23:12:06 +0400 |
parents | b56ebc31bf18 |
children | d1676be8afcc |
comparison
equal
deleted
inserted
replaced
165:76515373dac0 | 166:4267a2ac3d46 |
---|---|
23 | 23 |
24 =begin code | 24 =begin code |
25 | 25 |
26 package Foo; | 26 package Foo; |
27 | 27 |
28 use base qw(IMPL::Object IMPL::Object::Singleton); | 28 use parent qw(IMPL::Object IMPL::Object::Singleton); |
29 | 29 |
30 #.... | 30 #.... |
31 | 31 |
32 Foo->isnatnce->some_work(); | 32 Foo->isnatnce->some_work(); |
33 | 33 |