🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #219257

Re: PNews update

#219257
From: Mats Peterson
Date: Tue, 15 Apr 2008 06:56
49 lines
2956 bytes
Mats Peterson <matsp555@yahoo.com> wrote:
> "Gerry Ford" <gerry@nowhere.ford> wrote:
>>
>> "Mats Peterson" <matsp555@yahoo.com> wrote in message 
>> news:tDEMj.6037$R_4.4831@newsb.telia.net...
>>> "Gerry Ford" <gerry@nowhere.ford> wrote:
>>>>
>>
>>>> My question for Mats has to do with the use statements in his client:
>>>> use strict;
>>>> use Net::NNTP;
>>>> use Net::SMTP;
>>>> use HTTP::Date qw/time2str str2time/;
>>>> use MIME::QuotedPrint qw/encode_qp decode_qp/;
>>>> use Encode qw/encode decode/;
>>>> use POSIX qw/strftime/;
>>>> use File::stat;
>>>> use File::Temp qw/:mktemp/;
>>>> use Win32::ANSIConsole qw/coninit cls/;
>>>>
>>>> I believe for perl.exe to know what I'm talking about, I would have to
>>>> download these modules.  This isn't as sraightforward as I would like 
>>>> with
>>>> windows, but for a guy at my skill level, I think I could marshall these
>>>> together.  My question goes to this syntax that follows the plain vanilla
>>>> "use" statement:
>>>>
>>>> use File::Temp qw/:mktemp/;
>>>> ^^^^^^^^
>>>>
>>>> What does it mean?
>>>
>>> This is explained in the Exporter documentation, which can be viewed
>>> with the command `perldoc Exporter'. Check the "How to Import" section.
>> I tuned up on the import syntax.  AS perl has no idea what, e.g., 
>> Win32::ANSIConsole is.
>
> It's all in the README.txt file, including the fact that this module is
> available at http://www.geocities.com/matsp888/windows/lib/.
>
> Unzip it and place the contents somewhere where Perl looks for modules,
> \Perl\site\lib etc.
>

And it requires Win32::ANSI::Console to be installed.

-- 
Mats Peterson
http://www.geocities.com/matsp888/
Technical Details
Message-ID: <wkYMj.6089$R_4.4706@newsb.telia.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!proxad.net!feeder1-1.proxad.net!newspeer2.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail
References: <FQjMj.5999$R_4.4766@newsb.telia.net> <1208149449_40983@news.newsgroups.com> <tDEMj.6037$R_4.4831@newsb.telia.net> <1208237675_7@news.newsgroups.com> <0iYMj.6088$R_4.4506@newsb.telia.net>

Show Full Headers
Complete Article Headers
Message-ID: <wkYMj.6089$R_4.4706@newsb.telia.net>
Subject: Re: PNews update
Date: Tue, 15 Apr 2008 06:56:28 GMT
From: Mats Peterson <matsp555@yahoo.com>
References: <FQjMj.5999$R_4.4766@newsb.telia.net> <1208149449_40983@news.newsgroups.com> <tDEMj.6037$R_4.4831@newsb.telia.net> <1208237675_7@news.newsgroups.com> <0iYMj.6088$R_4.4506@newsb.telia.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!proxad.net!feeder1-1.proxad.net!newspeer2.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail
Newsgroups: news.software.readers
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: PNews
Lines: 49
NNTP-Posting-Host: 213.64.75.194
X-Complaints-To: abuse@telia.com
X-Trace: newsb.telia.net 1208242588 213.64.75.194 (Tue,
NNTP-Posting-Date: Tue, 15 Apr 2008 08:56:28 CEST
Organization: Telia Internet