From 57e5413acec140aa49efbaf80e23e3674a1beb81 Mon Sep 17 00:00:00 2001 From: Andinus Date: Sat, 29 Aug 2020 23:54:58 +0530 Subject: Warn on invalid field Send it to STDERR. Send everything to STDERR. I'm tired. --- pyxis.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyxis.pl b/pyxis.pl index 7aedba0..976ad2e 100755 --- a/pyxis.pl +++ b/pyxis.pl @@ -80,7 +80,7 @@ my %dispatch = ( foreach my $feed (@feeds) { # Skip if feed file doesn't exist. - say "pyxis: unknown feed `$feed'" + warn "pyxis: unknown feed `$feed'\n" and next unless -e $feed; -- cgit 1.4.1-2-gfad0