Change: Don't output line number if .cfg file can't be opened.
[usenet/yapfaq.git] / yapfaq.pl
index b89be9a..517eac1 100644 (file)
--- a/yapfaq.pl
+++ b/yapfaq.pl
@@ -1,16 +1,18 @@
 #! /usr/bin/perl -W
 #
 #! /usr/bin/perl -W
 #
-# yapfaq Version 0.5b by Marc 'HE' Brockschmidt
+# yapfaq Version 0.6 by Thomas Hochstein
+# (Original author: Marc Brockschmidt)
 #
 #
-# This script posts any project described in it's config-file. Most persons
+# This script posts any project described in its config-file. Most people
 # will use it in combination with cron(8).
 # 
 # Copyright (C) 2003 Marc Brockschmidt <marc@marcbrockschmidt.de>
 # will use it in combination with cron(8).
 # 
 # Copyright (C) 2003 Marc Brockschmidt <marc@marcbrockschmidt.de>
+# Copyright (c) 2010 Thomas Hochstein <thh@inter.net>
 #
 # It can be redistributed and/or modified under the same terms under 
 # which Perl itself is published.
 
 #
 # It can be redistributed and/or modified under the same terms under 
 # which Perl itself is published.
 
-my $Version = "0.5b";
+my $Version = "0.6-unreleased";
 
 my $NNTPServer = "";
 my $NNTPUser = "";
 
 my $NNTPServer = "";
 my $NNTPUser = "";
@@ -77,7 +79,7 @@ foreach (@Config) {
     }
     close FH;
   } else { 
     }
     close FH;
   } else { 
-    warn "Couldn't open $File.cfg: $!";
+    warn "Couldn't open $File.cfg: $!\n";
   }
 
   $SupersedeMID = "" unless $Supersede;
   }
 
   $SupersedeMID = "" unless $Supersede;
This page took 0.01201 seconds and 4 git commands to generate.