Click here to get back home

modules for nntp client

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
modules for nntp client Gerry Ford 04-14-2008
Posted by Gerry Ford on April 16, 2008, 6:17 pm
Please log in for more thread options

>
>>
>>>
>>> I have MS VC++ Express 2008 (or version 9, it goes by both names
>>> apparently) installed. So far, I have run into no problems with
>>
>> If this is with ActivePerl, you may be better off swiching to gcc.
>
> I decided to give another shot (last time I tried was a few years
> back) to building Perl myself. This time, I used VC9 Express. I am
> happy to report that everything worked right out of the box.
>
> Thanks to Makefile maintainers.
I'd heard only bad things about VC Express. Of course, it had been from
people who were knee-jerk anti-MS.

I too was impressed by the appearance of the strawberry perl page. I like
it when it is visually-arresting without being busy and cluttered. I'm
gonna create a user without admin priveleges and install it on that and take
it through its paces.

--
"A belief in a supernatural source of evil is not necessary; men alone
are quite capable of every wickedness."

~~ Joseph Conrad (1857-1924), novelist



Posted by Tad J McClellan on April 14, 2008, 7:16 pm
Please log in for more thread options


> The part I don't get right now is what follows the vanilla use statements


> use HTTP::Date qw/time2str str2time/;

> What does it mean?


perldoc -f use


--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher0cmdat/"

Posted by Gerry Ford on April 15, 2008, 12:56 am
Please log in for more thread options

>
>
>> The part I don't get right now is what follows the vanilla use statements
>
>
>> use HTTP::Date qw/time2str str2time/;
>
>> What does it mean?
>
>
> perldoc -f use

This is the current contents of my Path system variable:

C:\Program Files\perl3\site\bin;C:\Program
Files\perl3\bin;c:\path\gcc\bin;C:\Program
Files\Silverfrost\FTN95;C:\Perl\site\bin;C:\Perl\bin;c:\ruby\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

This is, BTW, something that AS perl users on windows need to go in and trim
after installations. The installation that is right off the root I'll trim
out (it's 5.8). It confuses the heck out of windows and linkers at
precisely the wrong time to have one path to one installation and another to
an older one, in particular, in reverse order.

I was wondering why I can use perldoc from a dos window anywhere, and see
that the answer is that the path leads to the binaries, wherein we see
perldoc.bat. I wouldn't have believed for a second that this is how I get
output with the perldoc command:

@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofperl
:WinNT
perl -x -S %0 %*
if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
if %errorlevel% == 9009 echo You do not have Perl in your PATH.
if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul
goto endofperl
@rem ';
#!perl
#line 15
eval 'exec C:\Program Files\perl3\bin\perl.exe -S $0 $'
if 0;

# This "perldoc" file was generated by "perldoc.PL"

require 5;
BEGIN { $^W = 1 if $ENV }
use Pod::Perldoc;
exit( Pod::Perldoc->run() );


__END__
:endofperl

--
"Shopping for toilets isn't the most fascinating way to spend a Saturday
afternoon. But it beats watching cable news."

~~ Booman



Posted by A. Sinan Unur on April 15, 2008, 1:24 am
Please log in for more thread options

>
>>
>>
>>> The part I don't get right now is what follows the vanilla use
>>> statements
>>
>>
>>> use HTTP::Date qw/time2str str2time/;
>>
>>> What does it mean?
>>
>>
>> perldoc -f use
>
> This is the current contents of my Path system variable:

OK, but why are you listing it.

> C:\Program Files\perl3\site\bin;C:\Program
> Files\perl3\bin;c:\path\gcc\bin;C:\Program
> Files\Silverfrost\FTN95;C:\Perl\site\bin;C:\Perl\bin;c:\ruby\bin;
> %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
>
> This is, BTW, something that AS perl users on windows need to go
> in and trim after installations.

I have never had to do that. Could you explain what needs to be
trimmed and why? The only thing I can see is that you seem to have
installed Perl twice. Once in a non-default subdirectory of
C:\Program Files.

You also have gcc there which might confuse CPAN.pm or command line
build tools.

> I was wondering why I can use perldoc from a dos window anywhere,
> and see that the answer is that the path leads to the binaries,
> wherein we see perldoc.bat. I wouldn't have believed for a second
> that this is how I get output with the perldoc command:

Again, why is that hard to believe.

>
> @rem = '--*-Perl-*--
> @echo off
> if "%OS%" == "Windows_NT" goto WinNT
> perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
> goto endofperl
>:WinNT
> perl -x -S %0 %*

perl --help

-x[directory] strip off text before #!perl line and perhaps cd
to directory

-S look for programfile using PATH environment variable

Did you have a question?

Sinan


--
(remove .invalid and reverse each component for email address)

comp.lang.perl.misc guidelines on the WWW:
http://www.rehabitation.com/clpmisc/

Similar ThreadsPosted
Cannot authenticate to NNTP server with Net::NNTP authinfo() August 8, 2006, 8:11 pm
Posting to nntp newsgroup with Perl (Net::NNTP) March 4, 2007, 7:05 am
Net::NNTP October 31, 2004, 10:23 pm
NNTP over SSL November 18, 2005, 2:41 am
nntp scan February 7, 2005, 4:51 pm
non nntp usenet January 18, 2008, 4:27 am
$nntp ->list() April 19, 2008, 5:11 pm
Which NNTP module to use? July 27, 2008, 11:30 pm
Net::NNTP, retrieving articles help please December 17, 2004, 3:14 pm
How do I reply a NNTP message? December 6, 2005, 12:46 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap