+16Apr01=======================================================================
+1. make the correct error messages come out on reject/accept when people
+leave out keywords like 'on'.
15Apr01=======================================================================
1. made some mods to the sgml documentation for 1.47
2. added show/connect command
my $sort = 'ann';
my ($r, $filter, $fno) = $AnnTalk::filterdef->cmd($self, $sort, $type, $line);
-return (0, $r ? $r : $self->msg('filter1', $fno, $filter->{name}));
+return (0, $r ? $filter : $self->msg('filter1', $fno, $filter->{name}));
my $sort = 'spots';
my ($r, $filter, $fno) = $Spot::filterdef->cmd($self, $sort, $type, $line);
-return (0, $r ? $r : $self->msg('filter1', $fno, $filter->{name}));
+return (0, $r ? $filter : $self->msg('filter1', $fno, $filter->{name}));
my $sort = 'wcy';
my ($r, $filter, $fno) = $WCY::filterdef->cmd($self, $sort, $type, $line);
-return (0, $r ? $r : $self->msg('filter1', $fno, $filter->{name}));
+return (0, $r ? $filter : $self->msg('filter1', $fno, $filter->{name}));
my $sort = 'wwv';
my ($r, $filter, $fno) = $Geomag::filterdef->cmd($self, $sort, $type, $line);
-return (0, $r ? $r : $self->msg('filter1', $fno, $filter->{name}));
+return (0, $r ? $filter : $self->msg('filter1', $fno, $filter->{name}));
my $sort = 'ann';
my ($r, $filter, $fno) = $AnnTalk::filterdef->cmd($self, $sort, $type, $line);
-return (0, $r ? $r : $self->msg('filter1', $fno, $filter->{name}));
+return (0, $r ? $filter : $self->msg('filter1', $fno, $filter->{name}));
my $sort = 'spots';
my ($r, $filter, $fno) = $Spot::filterdef->cmd($self, $sort, $type, $line);
-return (0, $r ? $r : $self->msg('filter1', $fno, $filter->{name}));
+return (0, $r ? $filter : $self->msg('filter1', $fno, $filter->{name}));
my $sort = 'ann';
my ($r, $filter, $fno) = $WCY::filterdef->cmd($self, $sort, $type, $line);
-return (0, $r ? $r : $self->msg('filter1', $fno, $filter->{name}));
+return (0, $r ? $filter : $self->msg('filter1', $fno, $filter->{name}));
my $sort = 'ann';
my ($r, $filter, $fno) = $Geomag::filterdef->cmd($self, $sort, $type, $line);
-return (0, $r ? $r : $self->msg('filter1', $fno, $filter->{name}));
+return (0, $r ? $filter : $self->msg('filter1', $fno, $filter->{name}));
{
undef $dbm;
untie %d;
+ undef %d;
}
sub check
export2 => '$_[3] has error exporting msg $_[0] to $_[1] ($_[2])',
export3 => '$_[2 ] exported msg $_[0] to $_[1]',
filter1 => 'Filter $_[0] updated for $_[1]',
- filter2 => 'Need a value for $_[0]',
+ filter2 => 'Unknown filter keyword $_[0]',
filter3 => 'No filters defined for $_[0]',
filter4 => '$_[0]$_[1] Filter $_[2] deleted for $_[3]',
filter5 => 'need some filter commands...',