Changeset 11225
- Timestamp:
- 05/07/08 01:35:22 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Class-Component/trunk/lib/Class/Component/Component/Moosenize.pm
r11210 r11225 34 34 my $pkg = shift; 35 35 36 for my $method (qw/ requires with /) {36 for my $method (qw/ requires requires_with_attributes with /) { 37 37 no strict 'refs'; 38 38 *{"$pkg\::$method"} = sub { unshift @_, $pkg; goto &$method }; … … 171 171 } 172 172 } 173 sub requires_with_attributes { 174 my $caller = shift; 175 my $attributes = shift; 176 requires($caller => map { $_ => $attributes } @_ ); 177 } 173 178 174 179 sub with {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)