- Timestamp:
- 11/27/08 21:06:46 (4 years ago)
- Files:
-
- 1 modified
-
lang/perl/Shika/trunk/lib/Shika.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Shika/trunk/lib/Shika.pm
r25135 r25139 12 12 warnings->import; 13 13 14 my $meta = +{15 has => {},16 default => {},17 };18 19 14 no strict 'refs'; 20 15 *{"$pkg\::new"} = \&_new; … … 22 17 *{"$pkg\::extends"} = \&_extends; 23 18 *{"$pkg\::with"} = \&_with; 19 Shika::init_meta($pkg); 20 } 21 22 sub init_meta { 23 my $pkg = shift; 24 my $meta = +{ 25 has => {}, 26 default => {}, 27 }; 28 29 no strict 'refs'; 24 30 *{"$pkg\::meta"} = sub { $meta }; 25 31 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)