Skip to content

Commit

Permalink
slight style tweak
Browse files Browse the repository at this point in the history
svn path=/trunk/perlmods/; revision=8357
  • Loading branch information
timj committed Jan 18, 2005
1 parent ea8e208 commit 5c9abc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WaveBand.pm
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ sub has_filter {
foreach my $key ( sort keys %list ) {
# if the filter exists in the filter list for that instrument,
# increment the counter
$counter++ if( ${$FILTERS{$key}}{$list{$key}} );
$counter++ if exists $FILTERS{$key}{$list{$key}};
}

# if the counter is the same size as the input list then all conditons
Expand Down Expand Up @@ -1020,7 +1020,7 @@ sub has_instrument {
# if the filter exists in the filter list for that instrument,
# increment the counter
for my $i ( 0 ... $#{$TELESCOPE{$key}} ) {
if ( ${$TELESCOPE{$key}}[$i] eq $list{$key} ) {
if ( $TELESCOPE{$key}->[$i] eq $list{$key} ) {
$counter++;
last;
}
Expand Down

0 comments on commit 5c9abc8

Please sign in to comment.