Changeset 20902
- Timestamp:
- 10/07/08 18:09:05 (2 months ago)
- Files:
-
- 1 modified
-
lang/perl/Module-Setup/trunk/lib/Module/Setup.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Module-Setup/trunk/lib/Module/Setup.pm
r20899 r20902 57 57 } 58 58 59 $options->{flavor} ||= $self->select_flavor;60 $options->{flavor_class} ||= 'Default';61 62 59 no warnings 'redefine'; 63 60 local *has_term = $self->set_has_term_sub if $set_has_term; ## no critic … … 65 62 my @argv = defined $argv && ref($argv) eq 'ARRAY' ? @{ $argv } : @ARGV; 66 63 64 $options->{flavor_class} ||= 'Default'; 65 67 66 # create flavor 68 67 if ($options->{init}) { 69 $options->{flavor} = shift @argv if @argv; 68 $options->{flavor} = shift @argv if @argv; 69 $options->{flavor} ||= 'default'; 70 70 return $self->create_flavor($options); 71 71 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)