Changeset 2156 for trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases.pm
- Timestamp:
- 11/30/18 23:21:16 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases.pm
r2041 r2156 105 105 106 106 sub config { 107 my ($self, $opt ) = @_;108 return $self->{_options}{$opt};107 my ($self, $opt, $default) = @_; 108 return defined($self->{_options}{$opt}) ? $self->{_options}{$opt} : $default; 109 109 } 110 110
Note: See TracChangeset
for help on using the changeset viewer.