modules for nntp client

modules for nntp client

am 14.04.2008 07:25:14 von Gerry Ford

Hello c.l.p.misc!

A resurgence of spam in places I would otherwise like has renewed my
interest in writing an nntp client. Someone else's (in the public domain)
has the following use statements, which I think I have to track down now.
The part I don't get right now is what follows the vanilla use statements

use strict; <---- this one I get for free
use Net::NNTP; <----already got this one
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/;
, such as ^^^^^^^^.

What does it mean?

TIA, and cheers,

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

~~ Booman

Re: modules for nntp client

am 14.04.2008 17:14:47 von smallpond

On Apr 14, 1:25 am, "Gerry Ford" wrote:
> Hello c.l.p.misc!
>
> A resurgence of spam in places I would otherwise like has renewed my
> interest in writing an nntp client. Someone else's (in the public domain)
> has the following use statements, which I think I have to track down now.
> The part I don't get right now is what follows the vanilla use statements
>
> use strict; <---- this one I get for free
> use Net::NNTP; <----already got this one
> 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/;
> , such as ^^^^^^^^.
>
> What does it mean?
>
> TIA, and cheers,



I gather you are new to perl. The "qw/coninit cls/" is a way
of specifying a list, which is a basic perl data type.
If you look at the documentation for "use" which you can find
online, it shows the different forms:

use Module VERSION LIST
use Module VERSION
use Module LIST
use Module
use VERSION

The documentation describes what the LIST argument is for. See:

http://aspn.activestate.com/ASPN/docs/ActivePerl
http://aspn.activestate.com/ASPN/docs/ActivePerl/5.10/lib/po ds/perlfunc.html#use

perlfunc has the documentation for each perl function call,
including "use". If you have perldoc, you can get the
same documentation with the command:

perldoc -f use

Re: modules for nntp client

am 15.04.2008 01:16:03 von Tad J McClellan

Gerry Ford wrote:


> 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.noitatibaher\100cmdat/"

Re: modules for nntp client

am 15.04.2008 01:40:41 von Gerry Ford

"smallpond" wrote in message
news:eae5c9e5-b162-40ab-9a6e-77ae04a9e18c@m3g2000hsc.googleg roups.com...

>> use strict; <---- this one I get for free
>> use Net::NNTP; <----already got this one
>> 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/;
>> , such as ^^^^^^^^.

> I gather you are new to perl. The "qw/coninit cls/" is a way
> of specifying a list, which is a basic perl data type.

Thanks for your reply, smallpond. I'm newly-new to perl. Let me see if
I've got this:

use module LIST;
Imports some semantics into the current package from the named module,
generally by aliasing certain subroutine or variable names into your
package. It is exactly equivalent to
BEGIN { require Module; Module->import( LIST ); }

So I'm to look at importing/exporting. qw is the quote word operator. So
if you have
@fruits = qw{ apple orange banana};
, your list is correctly instantiated sans commas. So
use Win32::ANSIConsole qw/coninit cls/;
imports the coninit and cls functions.

Here's where I run into double trouble. I'm having a heckuva time figuring
out what he means with win32::ansiconsole. I thought that the reason I
might not be able to find any of these is that I had an outdated activestate
install, but not so. Overnight I upgraded to 5.10 and find many modules
that look like this one, that aren't. AS has no entry for net::nntp nor
win32::ansiconsole. Without the module for me to look at, I'm not gonna
figure out what, e.g. coninit is.

What's puzzling is that I'm able to use net::nntp having downloaded nothing
but AS 5.10. I looked in the installed modules and see no reason for this
good fortune.

> perlfunc has the documentation for each perl function call,
> including "use". If you have perldoc, you can get the
> same documentation with the command:
>
> perldoc -f use
Indeed I do. I can use it on any dos prompt. I'm a little mystified by
this good fortune as well.

Given that I'm gonna have a dozen knucklehead questions like this, should I
rather ask in c.l.p.modules?
--
"Shopping for toilets isn't the most fascinating way to spend a Saturday
afternoon. But it beats watching cable news."

~~ Booman

Re: modules for nntp client

am 15.04.2008 02:05:35 von 1usa

"Gerry Ford" wrote in
news:1208216001_0@news.newsgroups.com:


> Here's where I run into double trouble. I'm having a heckuva time
> figuring out what he means with win32::ansiconsole.

Please capitalize module names properly. Case matters.

In any case, I am not sure but I am assuming it is an
version of the following module:

http://search.cpan.org/~jlmorel/Win32-Console-ANSI-1.00/

If you cannot find that through ppm, you might want to
add the following repositories:

Name: uwinnipeg
URL: http://cpan.uwinnipeg.ca/PPMPackages/10xx/package.xml

Name: trouchelle
URL: http://trouchelle.com/ppm10/package.xml

Name: Bribes
URL: http://www.bribes.org/perl/ppm/package.xml

> that aren't. AS has no entry for net::nntp

perl -MNet::NNTP -e "print qq{$Net::NNTP::VERSION\n}"

will print the version installed (assuming it is installed).

You can see at http://perldoc.perl.org/index-modules-N.html
that both Net::NNTP and Net::SMTP are core modules.

> win32::ansiconsole. Without the module for me to look at, I'm not
> gonna figure out what, e.g. coninit is.

E:\Home\asu1> ppm install Win32::Console::ANSI
Downloading Win32-Console-ANSI-1.00...done
Unpacking Win32-Console-ANSI-1.00...done
Generating HTML for Win32-Console-ANSI-1.00...done
Updating files in site area...done
7 files installed

This module seems to be available at both Bribes and trouchelle repos.

On the other hand, you can download the original module from:

http://backpan.perl.org/authors/id/J/JL/JLMOREL/

http://backpan.perl.org/authors/id/J/JL/JLMOREL/Win32-ANSICo nsole-0.01.tar.gz

> What's puzzling is that I'm able to use net::nntp having
> downloaded nothing but AS 5.10. I looked in the installed modules
> and see no reason for this good fortune.

It is in the core.

> Given that I'm gonna have a dozen knucklehead questions like this,
> should I rather ask in c.l.p.modules?

Nope. This is a fine place to ask.

However, do read the posting guidelines first.

Sinan

--
A. Sinan Unur <1usa@llenroc.ude.invalid>
(remove .invalid and reverse each component for email address)

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

Re: modules for nntp client

am 15.04.2008 06:56:19 von Gerry Ford

"Tad J McClellan" wrote in message
news:slrng06hbt.pbt.tadmc@tadmc30.sbcglobal.net...
> Gerry Ford wrote:
>
>
>> 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%\System3 2\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 ${1+"$@"}'
if 0;

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

require 5;
BEGIN { $^W = 1 if $ENV{'PERLDOCDEBUG'} }
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

Re: modules for nntp client

am 15.04.2008 07:24:55 von 1usa

"Gerry Ford" wrote in
news:1208234940_6@news.newsgroups.com:

>
> "Tad J McClellan" wrote in message
> news:slrng06hbt.pbt.tadmc@tadmc30.sbcglobal.net...
>> Gerry Ford wrote:
>>
>>
>>> 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\Wbe m
>
> 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


--
A. Sinan Unur <1usa@llenroc.ude.invalid>
(remove .invalid and reverse each component for email address)

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

Re: modules for nntp client

am 15.04.2008 08:09:09 von Gerry Ford

"A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in message
news:Xns9A80CC6552B84asu1cornelledu@127.0.0.1...
> "Gerry Ford" wrote in
> news:1208216001_0@news.newsgroups.com:


>> Here's where I run into double trouble. I'm having a heckuva time
>> figuring out what he means with win32::ansiconsole.
>
> Please capitalize module names properly. Case matters.

Thanks for your response. I'll need to shift gears from fortran, which is
case insensitive.

> In any case, I am not sure but I am assuming it is an
> version of the following module:
>
> http://search.cpan.org/~jlmorel/Win32-Console-ANSI-1.00/

I don't think it is. When I have a script with
use Win32::ANSIConsole qw/coninit cls/;
, perl.exe is looking for an absent ANSIConsole.pm that has coninit and cls
defined.

At the above link, I get this:
package Win32::Console::ANSI;
#
# Copyright (c) 2004 Jean-Louis Morel
#
# Version 1.01 (08/06/2005)
#
# This program is free software; you can redistribute it and/or modify
# it under the same terms as Perl itself.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the
# GNU General Public License or the Artistic License for more details.
#

use 5.006;
use strict;
use warnings;
require Exporter;

our @ISA = qw(Exporter);
our $VERSION = '1.00';

our %EXPORT_TAGS = (
'all' => [ qw( Title Cursor XYMax SetConsoleSize Cls ScriptCP )],
);

our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} },
);

our @EXPORT = qw(
);

package Win32::Console::ANSI;

require XSLoader;
XSLoader::load('Win32::Console::ANSI', $VERSION);

1;
__END__
# pod data elided for length

First of all, Cls is, by your criterion, different from cls, and there is no
coninit at all.

> If you cannot find that through ppm, you might want to
> add the following repositories:
>
> Name: uwinnipeg
> URL: http://cpan.uwinnipeg.ca/PPMPackages/10xx/package.xml
>
> Name: trouchelle
> URL: http://trouchelle.com/ppm10/package.xml
>
> Name: Bribes
> URL: http://www.bribes.org/perl/ppm/package.xml

I looked at these, and they look like:
Common Gateway Interface Class Lincoln D. Stein (lstein@cshl.org) Automated
accessor generation Marty Pauley (marty+perl@kasei.com) Inheritable,
overridable class data Tony Bowden (tony@tmtm.com) class and object builder,
hash version GomoR (netpkt@gomor.org) Get information about a class and its
structure Adam Kennedy (adamk@cpan.org) Fast prototype-based OO programming
in Perl. Toby Ovod-Everett (toby@ovod-everett.org) Base class for creating
singleton objects Andy Wardley

This looks like it was expecting a program to read text, not a human ambling
about, trying to find a module.

> perl -MNet::NNTP -e "print qq{$Net::NNTP::VERSION\n}"
> will print the version installed (assuming it is installed).
2.24

>> win32::ansiconsole. Without the module for me to look at, I'm not
>> gonna figure out what, e.g. coninit is.
>
> E:\Home\asu1> ppm install Win32::Console::ANSI
> Downloading Win32-Console-ANSI-1.00...done
> Unpacking Win32-Console-ANSI-1.00...done
> Generating HTML for Win32-Console-ANSI-1.00...done
> Updating files in site area...done
> 7 files installed
How do I replicate this process on windows? As it is, a file that ends in
tar.gz just creates huge problems for me.

>> What's puzzling is that I'm able to use net::nntp having
>> downloaded nothing but AS 5.10. I looked in the installed modules
>> and see no reason for this good fortune.
> You can see at http://perldoc.perl.org/index-modules-N.html
> that both Net::NNTP and Net::SMTP are core modules.
Gotcha. This is necessary viewing for persons who are taking their first
steps with modules.

> However, do read the posting guidelines first.
Just to prove I was there for the sixth time:

Beware of saying ``doesn't work''

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

~~ Booman

Re: modules for nntp client

am 15.04.2008 08:35:16 von 1usa

"Gerry Ford" wrote in
news:1208239309_8@news.newsgroups.com:

> "A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in message
> news:Xns9A80CC6552B84asu1cornelledu@127.0.0.1...
>> "Gerry Ford" wrote in
>> news:1208216001_0@news.newsgroups.com:
>
>
>>> Here's where I run into double trouble. I'm having a heckuva
>>> time figuring out what he means with win32::ansiconsole.

....

>> In any case, I am not sure but I am assuming it is an
>> version of the following module:
>>
>> http://search.cpan.org/~jlmorel/Win32-Console-ANSI-1.00/
>
> I don't think it is.

I think it is.

You snipped it but

http://backpan.perl.org/authors/id/J/JL/JLMOREL/

http://backpan.perl.org/authors/id/J/JL/JLMOREL/Win32-ANSICo nsole-0.01.tar.gz

shows it to be.

> When I have a script with
> use Win32::ANSIConsole qw/coninit cls/;
> , perl.exe is looking for an absent ANSIConsole.pm that has
> coninit and cls defined.

....

> First of all, Cls is, by your criterion, different from cls, and
> there is no coninit at all.

The API might have changed between Win32::ANSIConsole and
Win32::Console::ANSI. Clearly, the module is available from the
backpan link. If it is a Pure Perl module, you can install it
by unpacking the archive and manually copying the files to
a custom directory and reading

perldoc lib

>> If you cannot find that through ppm, you might want to
>> add the following repositories:
>>
>> Name: uwinnipeg
>> URL: http://cpan.uwinnipeg.ca/PPMPackages/10xx/package.xml
>>
>> Name: trouchelle
>> URL: http://trouchelle.com/ppm10/package.xml
>>
>> Name: Bribes
>> URL: http://www.bribes.org/perl/ppm/package.xml
>
> I looked at these, and they look like:
> Common Gateway Interface Class Lincoln D. Stein (lstein@cshl.org)

Those are repositories to add to ppm.

> This looks like it was expecting a program to read text, not a
> human ambling about, trying to find a module.

Exactly. Add the repositories to ppm.

>> perl -MNet::NNTP -e "print qq{$Net::NNTP::VERSION\n}"
>> will print the version installed (assuming it is installed).
> 2.24
>
>>> win32::ansiconsole. Without the module for me to look at, I'm
>>> not gonna figure out what, e.g. coninit is.
>>
>> E:\Home\asu1> ppm install Win32::Console::ANSI
>> Downloading Win32-Console-ANSI-1.00...done
>> Unpacking Win32-Console-ANSI-1.00...done
>> Generating HTML for Win32-Console-ANSI-1.00...done
>> Updating files in site area...done
>> 7 files installed
> How do I replicate this process on windows? As it is, a file that
> ends in tar.gz just creates huge problems for me.

Use ppm.

If I understand correctly, right now you are trying to get a program
written by someone else to run on your system. Since clp.misc is not
a support group for random scripts found on the web, you should expect
to either do a considerable amount of work yourself or obtain support
from the author of the script.

After reading the source of the module

http://backpan.perl.org/authors/id/J/JL/JLMOREL/Win32-ANSICo nsole-0.01.tar.gz

you can decide if consinit and cls are necessary and look for a way of
replacing that functionality if needed.

Or, as I mentioned above, you can manually unpack the module files
without relying on the automated process which ppm gives you for
modules found in current repositories.

Sinan

--
A. Sinan Unur <1usa@llenroc.ude.invalid>
(remove .invalid and reverse each component for email address)

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

Re: modules for nntp client

am 15.04.2008 22:31:45 von Gerry Ford

"A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in message
news:Xns9A811A523EFEEasu1cornelledu@127.0.0.1...
> "Gerry Ford" wrote in
> news:1208239309_8@news.newsgroups.com:
>
>> "A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in message
>> news:Xns9A80CC6552B84asu1cornelledu@127.0.0.1...

>>> In any case, I am not sure but I am assuming it is an
>>> version of the following module:
>>>
>>> http://search.cpan.org/~jlmorel/Win32-Console-ANSI-1.00/
>>
>> I don't think it is.
>
> I think it is.

Thanks again for your attention.

It turned out we were somewhat both correct (and errant, but that's glass
half-empty). I heard from the author and downloaded what he thought
ANSIConsole.pm was. Here's what the first of it looks like:
package Win32::ANSIConsole;

use strict;
use warnings;
use Win32::Console::ANSI qw/SetConsoleSize Title/;

require Exporter;
our @ISA = qw(Exporter);
our %EXPORT_TAGS = ('const' => [qw(BOLD UNDER BLINK REVERSE
BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE
BBLACK BRED BGREEN BYELLOW BBLUE BMAGENTA BCYAN BWHITE)]);
our @EXPORT_OK = (@{$EXPORT_TAGS{'const'}}, qw(coninit title attr cls
clreol curpos));

, so Win32::Console::ANSI is just a heartbeat away, and this version is a
home-rolled wrapper that probably makes a sexier layout on windows because
of what all he stuffs into coninit (it's rows, columns and colors--win32
specific).

With his version in /lib/Win32/ and your version in /lib/Win32/Console,
perl.exe doesn't puke on any of the use statements. All but this one were
included in the core.


>>> If you cannot find that through ppm, you might want to
>>> add the following repositories:
>>>
>>> Name: uwinnipeg
>>> URL: http://cpan.uwinnipeg.ca/PPMPackages/10xx/package.xml
>>>
>>> Name: trouchelle
>>> URL: http://trouchelle.com/ppm10/package.xml
>>>
>>> Name: Bribes
>>> URL: http://www.bribes.org/perl/ppm/package.xml
>>
>> I looked at these, and they look like:
>> Common Gateway Interface Class Lincoln D. Stein (lstein@cshl.org)
>
> Those are repositories to add to ppm.
>
>> This looks like it was expecting a program to read text, not a
>> human ambling about, trying to find a module.
>
> Exactly. Add the repositories to ppm.

This was a huge breakthrough for me today. I was able to use AS's ppm with
confidence for the first time today. I got two of those loaded. AS hangs
on the trouchelle one. (?)

>>> E:\Home\asu1> ppm install Win32::Console::ANSI
>>> Downloading Win32-Console-ANSI-1.00...done
>>> Unpacking Win32-Console-ANSI-1.00...done
>>> Generating HTML for Win32-Console-ANSI-1.00...done
>>> Updating files in site area...done
>>> 7 files installed
>> How do I replicate this process on windows? As it is, a file that
>> ends in tar.gz just creates huge problems for me.
>
> Use ppm.

Are you suggesting that if I have a tar.gz creature on my desktop, I can use
ppm to install it?
--
"Shopping for toilets isn't the most fascinating way to spend a Saturday
afternoon. But it beats watching cable news."

~~ Booman

Re: modules for nntp client

am 16.04.2008 01:37:56 von 1usa

"Gerry Ford" wrote in
news:1208291067_15@news.newsgroups.com:

>
> "A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in message
> news:Xns9A811A523EFEEasu1cornelledu@127.0.0.1...
>> "Gerry Ford" wrote in
>> news:1208239309_8@news.newsgroups.com:

....

>>>> E:\Home\asu1> ppm install Win32::Console::ANSI
>>>> Downloading Win32-Console-ANSI-1.00...done
>>>> Unpacking Win32-Console-ANSI-1.00...done
>>>> Generating HTML for Win32-Console-ANSI-1.00...done
>>>> Updating files in site area...done
>>>> 7 files installed
>>> How do I replicate this process on windows? As it is, a file
>>> that ends in tar.gz just creates huge problems for me.
>>
>> Use ppm.
>
> Are you suggesting that if I have a tar.gz creature on my desktop,
> I can use ppm to install it?

No, I misunderstood your question.

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

perl Makefile.PL

nmake -f Makefile

nmake -f Makefile test

nmake -f Makefile install

If you do install it, make sure to run the commands in cmd.exe shell
you start by using the shortcut installed in the Tools subfolder of
the VC++ folder in the start menu.

So, extract the compressed archive into a directory (preserving the
directory structure), start the said cmd.exe shell and off you go!

You might find

http://sourceforge.net/projects/console/

useful.

There is also Strawberry Perl http://strawberryperl.com/

I haven't looked at it since last year, but the new site design is
cute!

Sinan

--
A. Sinan Unur <1usa@llenroc.ude.invalid>
(remove .invalid and reverse each component for email address)

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

Re: modules for nntp client

am 16.04.2008 03:29:35 von Ben Morrow

Quoth "A. Sinan Unur" <1usa@llenroc.ude.invalid>:
>
> 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.
ActivePerl is built with MSVC 6, and MSVC 9 has a different,
incompatible (differently-named, in fact) msvcrt.dll. This means that if
an extension calls a libc function directly, you will end up trying to
load two different versions of the C library into the same process.
Unsurprisingly, this doesn't work terribly well... gcc uses a MSVC
6-compatible msvcrt.dll, and recent versions of ActivePerl have support
for switching to gcc if it's in your path.

Ben

Re: modules for nntp client

am 16.04.2008 15:07:18 von 1usa

Ben Morrow wrote in
news:vc1gd5-m361.ln1@osiris.mauzo.dyndns.org:

>
> Quoth "A. Sinan Unur" <1usa@llenroc.ude.invalid>:
>>
>> 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.

Sinan

--
A. Sinan Unur <1usa@llenroc.ude.invalid>
(remove .invalid and reverse each component for email address)

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

Re: modules for nntp client

am 17.04.2008 00:17:48 von Gerry Ford

"A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in message
news:Xns9A825CC927671asu1cornelledu@127.0.0.1...
> Ben Morrow wrote in
> news:vc1gd5-m361.ln1@osiris.mauzo.dyndns.org:
>
>>
>> Quoth "A. Sinan Unur" <1usa@llenroc.ude.invalid>:
>>>
>>> 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