From 605916ef6182670d998bd2df17c5a766f967b72f Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Wed, 14 Apr 2010 10:10:28 +0200 Subject: [PATCH] Add comments pointing to .yapfaqrc to source. Signed-off-by: Thomas Hochstein --- yapfaq.pl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/yapfaq.pl b/yapfaq.pl index 57ca99b..b509d9b 100644 --- a/yapfaq.pl +++ b/yapfaq.pl @@ -14,12 +14,17 @@ my $Version = "0.8-prelease"; +# Please do not change this setting! +# You may override the default .rc file (.yapfaqrc) by using "-c .rc file" my $RCFile = '.yapfaqrc'; +# Valid configuration variables for use in a .rc file my @ValidConfVars = ('NNTPServer','NNTPUser','NNTPPass','Sender','ConfigFile', 'UsePGP','pgp','PGPVersion','PGPSigner','PGPPass', 'PathtoPGPPass','pgpbegin','pgpend','pgptmpf','pgpheader'); -################################### Defaults ################################## +################################### Defaults ################################### +# Please do not change anything in here! +# Use a runtime configuration file (.yapfaqrc by default) to override defaults. my %Config = (NNTPServer => "", NNTPUser => "", NNTPPass => "", @@ -50,7 +55,7 @@ my @PGPorderheaders = ('from', 'newsgroups', 'subject', 'control', 'content-transfer-encoding', 'summary', 'keywords', 'cancel-lock', 'cancel-key', 'also-control', 'x-pgp', 'user-agent'); -############################# End of Configuration ############################# +################################# Main program ################################# use strict; use Net::NNTP;