diff options
author | Andinus <andinus@nand.sh> | 2020-08-29 23:54:58 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-08-29 23:54:58 +0530 |
commit | 57e5413acec140aa49efbaf80e23e3674a1beb81 (patch) | |
tree | 270282db642270a571421768bfd2ca714b52ee83 /pyxis.pl | |
parent | 9e70d73b5aa1397ec28702230faf4df537b3b29f (diff) | |
download | pyxis-57e5413acec140aa49efbaf80e23e3674a1beb81.tar.gz |
Warn on invalid field
Send it to STDERR. Send everything to STDERR. I'm tired.
Diffstat (limited to 'pyxis.pl')
-rwxr-xr-x | pyxis.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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; |