Changeset 8749 for lang/perl/Class-Component
- Timestamp:
- 04/03/08 16:30:57 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Class-Component/trunk/lib/Class/Component.pm
r8737 r8749 13 13 my $method = "class_component_$name"; 14 14 no strict 'refs'; 15 *{__PACKAGE__."::$method"} = sub { shift->{"_$method"} }; 15 *{__PACKAGE__."::$method"} = sub { 16 $_[0]->{"_$method"} = $_[1] if $_[1]; 17 $_[0]->{"_$method"} 18 }; 16 19 } 17 20
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)