Changeset 25045 for lang/perl/Shika
- Timestamp:
- 11/27/08 11:45:32 (4 years ago)
- Files:
-
- 1 modified
-
lang/perl/Shika/trunk/lib/Shika.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Shika/trunk/lib/Shika.pm
r25041 r25045 6 6 7 7 sub import { 8 my $pkg = caller(0); 8 9 strict->import; 9 10 warnings->import; 11 12 no strict 'refs'; 13 *{"$pkg\::new"} = \&_new; 14 *{"$pkg\::has"} = \&_has; 15 } 16 17 sub _new { 18 my $class = shift; 19 bless { @_ }, $class 20 } 21 22 sub _has { 23 my $pkg = caller(0); 10 24 } 11 25
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)