X-Git-Url: https://code.th-h.de/?p=usenet%2Fyapfaq.git;a=blobdiff_plain;f=yapfaq.pl;h=b509d9b2245fa320287aae7e6227f8946f949904;hp=57ca99b9c7ff0480030d96a738cb9f43a43ffb6b;hb=605916ef6182670d998bd2df17c5a766f967b72f;hpb=9817f98a9132dddfa816b9323e85f54aba39581d 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;