[30952] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 2197 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Feb 10 03:09:51 2009

Date: Tue, 10 Feb 2009 00:09:18 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Tue, 10 Feb 2009     Volume: 11 Number: 2197

Today's topics:
        "make test" fails while installing Math::Calc::Units vi <nospam@nospam.invalid>
    Re: "make test" fails while installing Math::Calc::Unit <ben@morrow.me.uk>
    Re: error printing page using LWP::Simple <larry@example.invalid>
    Re: File handle to "in memory" file <devnull4711@web.de>
    Re: good email parser ?? <someone@example.com>
    Re: good email parser ?? <uri@stemsystems.com>
        How to prevent XSS attacks ? <ramesh.thangamani@gmail.com>
    Re: How to prevent XSS attacks ? <tim@burlyhost.com>
        new CPAN modules on Tue Feb 10 2009 (Randal Schwartz)
    Re: parse newline <tadmc@seesig.invalid>
    Re: perl script open/save for voiceMessage problems <tadmc@seesig.invalid>
    Re: Perl vs. .NET <rvtol+usenet@xs4all.nl>
        PPM vs CPAN <cartercc@gmail.com>
    Re: PPM vs CPAN <ben@morrow.me.uk>
    Re: should be simple <tadmc@seesig.invalid>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Tue, 10 Feb 2009 00:19:21 +0000 (UTC)
From: Rahul <nospam@nospam.invalid>
Subject: "make test" fails while installing Math::Calc::Units via CPAN
Message-Id: <Xns9BADBA61E5FC56650A1FC0D7811DDBC81@85.214.105.209>

I tried installing Math::Calc::Units by using " perl -MCPAN -e 'install 
Math::Calc::Units'" but it leads to an error during "make test"

Running make install
  make test had returned bad status, won't install without force

Should I force it? How does one force through CPAN?

Incidently "make test" failed because:

##############
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/main....ok                                                                 
t/pod.....Can't locate Test/More.pm in @IN
####################################

Maybe there is a way to remedy that and thus get a clean installation?

-- 
Rahul


------------------------------

Date: Tue, 10 Feb 2009 02:34:25 +0000
From: Ben Morrow <ben@morrow.me.uk>
Subject: Re: "make test" fails while installing Math::Calc::Units via CPAN
Message-Id: <hm5766-bl2.ln1@osiris.mauzo.dyndns.org>


Quoth Rahul <nospam@nospam.invalid>:
> I tried installing Math::Calc::Units by using " perl -MCPAN -e 'install 
> Math::Calc::Units'" but it leads to an error during "make test"
> 
> Running make install
>   make test had returned bad status, won't install without force
> 
> Should I force it? How does one force through CPAN?

    perl -MCPAN -eshell

    cpan[1]> force install Math::Calc::Units

or

    cpan -fi Math::Calc::Units

if you have the 'cpan' script installed. Presumably there's a way to do
it from the perl -MCPAN -e... command line, but I don't know it.

> Incidently "make test" failed because:
> 
> ##############
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/main....ok                                                                 
> t/pod.....Can't locate Test/More.pm in @IN
> ####################################
> 
> Maybe there is a way to remedy that and thus get a clean installation?

What sort of perl install do you have that doesn't have Test::More? It's
been core since 5.6.2. Are you using some OS that thinks it's a good
idea to break the core perl install into a whole lot of separate
packages? You really want to fix that as soon as possible, or you're
likely to run into other problems later.

Of course, strictly it's a bug in Math::Calc::Units not to declare its
dependancy.

Ben



------------------------------

Date: Mon, 9 Feb 2009 21:24:40 -0700
From: Larry Gates <larry@example.invalid>
Subject: Re: error printing page using LWP::Simple
Message-Id: <3frtym65eht1.1tpejlem71bos.dlg@40tude.net>

On Sun, 8 Feb 2009 09:08:29 -0600, Tad J McClellan wrote:

> Have you seen the Posting Guidelines that are posted here frequently?

I read them *all the time.*  I'm directed to do so much compulsory reading
that I don't touch perl unless I've got time to

a) study the newgroup
b) study the camel doc
c) study everything someone suggests as far as perldoc goes
d) have time to work it out with a command line on windows
e) seek advice from by local buddy who deals with a lot of
   mynumbskull stuff.
f) I spent my time in college studying mathematics.  I do what I can to
continue learning, and I'm so slouch.
g) If I failed in snipping, I was erring on the side of caution and also
indicating that I wasn't reading everything carefully.  Shoot me.
h) Both my hands are sprained.
-- 
larry gates

I suppose you could switch grammars once you've seen "use strict subs".
:-)
             -- Larry Wall in <199804140117.SAA02006@wall.org>


------------------------------

Date: Tue, 10 Feb 2009 08:38:49 +0100
From: Frank Seitz <devnull4711@web.de>
Subject: Re: File handle to "in memory" file
Message-Id: <6vcp81Fj1ntaU2@mid.individual.net>

Uri Guttman wrote:
>>>>>> "FS" == Frank Seitz <devnull4711@web.de> writes:
> 
>   FS> Ideally a class is a piece of code that works properly without
>   FS> assumptions about the program it is used in.
> 
> and you assume that if your module is used then it will always do this
> stderr thing. make it an option and just do it when enabled. let the top
> level code decide whether to enable it or not. checking to see if the
> var is used by some other module is silly. what if that module is loaded
> after yours and overrides your stuff? you can't predict this so letting
> top level code handle the decision and offering this OPTIONAL service is
> the best way.

1. A class is not a module and vice versa.
2. A constructor is not called automatically.

>   FS> You missed the point. I can't remember the state by myself, because
>   FS> STDERR may change during program execution (under CGI::SpeedyCGI STDERR is
>   FS> reopened with every CGI call).
> 
> blech. you can always retie it later. and tied is easier to detect.

Okay, your are right, a tied object is precisely detectable. This is
what I miss for scalars in the filehandle API. But ties are slow and
I don't like the code very much.

>   FS> I use the class in (persistent) CGIs. The class captures STDERR during
>   FS> execution and the program puts the output into the HTTP response at
>   FS> the appropriate point. It works well. The limitation in Perls
>   FS> filehandle API is not a real problem for me: I simply close STDERR
>   FS> unconditionally and accept the consequence that output between
>   FS> multiple constructor calls is lost.
> 
> and that is acceptable vs my suggestions?

Yes.

> i think you have painted
> yourself into a deep corner. this is definitely an xy problem now. your
> bigger problem is solvable without much pain but you have already
> chosen a path (and sticking to it) which has much more pain.

No, it's not an xy problem. I asked a concrete question
about Perls filehandle API and I know by myself what I have to conclude from
the (in this case: negative) answer.

Frank
-- 
Dipl.-Inform. Frank Seitz; http://www.fseitz.de/
Anwendungen für Ihr Internet und Intranet
Tel: 04103/180301; Fax: -02; Industriestr. 31, 22880 Wedel


------------------------------

Date: Mon, 09 Feb 2009 18:32:26 -0800
From: "John W. Krahn" <someone@example.com>
Subject: Re: good email parser ??
Message-Id: <0H5kl.3695$I93.3373@newsfe18.iad>

Jack wrote:
> On Feb 8, 12:08 pm, "Peter J. Holzer" <hjp-usen...@hjp.at> wrote:
>> On 2009-02-07 23:59, Jack <jack_posem...@yahoo.com> wrote:
>>
>>> Hi I havent had any luck with the CPAN email modules, I just want to
>>> parse multipart and mime and base64, with all the varieties of email
>>> files out there, these modules just dont work...
>> MIME::Parser works for me. It is a bit slow and tends to use ridiculuous
>> amounts of memory if you want to avoid temporary files, but I have yet
>> to find a (syntactically correct) email which can't parse.
> 
> Thanks Peter for the posting.. can you provide some guidance then.. I
> tried the below code and figured the skeleton would report the base64
> image attachments in a MIME message, but isnt picking it up.  I need
> to be able to deal with text body, base64 body, and image attachments,
> and want to parse them out correctly.  I can do the base64 decoding,
> etc. - how do I accomplish this with MIME::Parser ??
> 
> Code:

use warnings;
use strict;

> use MIME::Parser;
> 
> if (@ARGV[0] eq undef) {

You cannot use undef in a comparison.  Perl will just convert it 
internally to a numeric, or in this case, a string representation of 
"false", 0 or '' respectively.  You shouldn't use a list in scalar 
context.  If you had warnings enabled then perl would have warned about 
this.

if ( not defined $ARGV[ 0 ] ) {

>    $filename1="no dest filename" ;
> } else {
>    $filename1=@ARGV[0];

     $filename1 = $ARGV[ 0 ];

> }

Or if you have Perl version 5.10 installed you could write that as:

my $filename1 = $ARGV[ 0 ] // 'no dest filename';

For older perl's that would be:

my $filename1 = defined $ARGV[ 0 ] ? $ARGV[ 0 ] : 'no dest filename';



John
-- 
Those people who think they know everything are a great
annoyance to those of us who do.        -- Isaac Asimov


------------------------------

Date: Tue, 10 Feb 2009 00:06:11 -0500
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: good email parser ??
Message-Id: <x7fximhoe4.fsf@mail.sysarch.com>

>>>>> "JWK" == John W Krahn <someone@example.com> writes:

  >> use MIME::Parser;
  >> if (@ARGV[0] eq undef) {

  JWK> You cannot use undef in a comparison.  Perl will just convert it
  JWK> internally to a numeric, or in this case, a string representation of
  JWK> "false", 0 or '' respectively.  You shouldn't use a list in scalar
  JWK> context.  If you had warnings enabled then perl would have warned
  JWK> about this.

couple of nits to pick. undef is coerced to '' with eq since it is
string context. and @ARGV[0] is a slice but it will return a single
value here. sure it is incorrect but it will work.

  JWK> if ( not defined $ARGV[ 0 ] ) {

  >> $filename1="no dest filename" ;
  >> } else {
  >> $filename1=@ARGV[0];

  JWK>      $filename1 = $ARGV[ 0 ];

  >> }

  JWK> Or if you have Perl version 5.10 installed you could write that as:

  JWK> my $filename1 = $ARGV[ 0 ] // 'no dest filename';

  JWK> For older perl's that would be:

  JWK> my $filename1 = defined $ARGV[ 0 ] ? $ARGV[ 0 ] : 'no dest filename';

you should know better. the best way to check for elements in an array
is checking its count. since he wants only one arg this should do fine:

	@ARGV or die "missing file name argument" ;
	my $filename = shift ;

and to the OP, you can never have an undef in @ARGV unless you put it
there yourself. @ARGV is passed in from the exec call (the shell does
this for command line programs) and shell doesn't know about undef.

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------


------------------------------

Date: Mon, 9 Feb 2009 21:39:29 -0800 (PST)
From: rthangam <ramesh.thangamani@gmail.com>
Subject: How to prevent XSS attacks ?
Message-Id: <a4277823-7ccc-4445-94f1-b9951e5a3917@a39g2000prl.googlegroups.com>

I have my own website which runs on mod_perl. I need to prevent my
website from XSS ( Cross-site scripting ) attacks. Can anyone tell me
which is the best way of doing it ?. I found the following links to
handle it:

http://www.howtoforge.com/apache_mod_security
http://search.cpan.org/~lindner/Apache-TaintRequest-0.10/TaintRequest.pm

Which of these is better also is there any other ways to handle the
XSS attacks?.


------------------------------

Date: Mon, 09 Feb 2009 23:33:06 -0800
From: Tim Greer <tim@burlyhost.com>
Subject: Re: How to prevent XSS attacks ?
Message-Id: <T4akl.7280$4h6.5351@newsfe23.iad>

rthangam wrote:

> I have my own website which runs on mod_perl. I need to prevent my
> website from XSS ( Cross-site scripting ) attacks. Can anyone tell me
> which is the best way of doing it ?. I found the following links to
> handle it:
> 
> http://www.howtoforge.com/apache_mod_security
>
http://search.cpan.org/~lindner/Apache-TaintRequest-0.10/TaintRequest.pm
> 
> Which of these is better also is there any other ways to handle the
> XSS attacks?.

If you don't write code that opens that potential, you needn't worry
about using things like mod_security.  That's just a way to stop
attacks on vulnerable scripts before it hits the script, which is
backward thinking for resolving a problem (if you control the script). 
Exactly what things are you doing (and how are you going about doing
them) where you're introducing the potential for an XSS attack issue?
-- 
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting.  24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!


------------------------------

Date: Tue, 10 Feb 2009 05:42:26 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Tue Feb 10 2009
Message-Id: <KEu56q.2ys@zorch.sf-bay.org>

The following modules have recently been added to or updated in the
Comprehensive Perl Archive Network (CPAN).  You can install them using the
instructions in the 'perlmodinstall' page included with your Perl
distribution.

Acme-CPANAuthors-Russian-0.0103
http://search.cpan.org/~zoffix/Acme-CPANAuthors-Russian-0.0103/
We are Russian CPAN authors 
----
Acme-CPANAuthors-Russian-0.0203
http://search.cpan.org/~zoffix/Acme-CPANAuthors-Russian-0.0203/
We are Russian CPAN authors 
----
Acme-CPANAuthors-Russian-0.03
http://search.cpan.org/~sharifuln/Acme-CPANAuthors-Russian-0.03/
We are Russian CPAN authors 
----
Acme-CPANAuthors-Russian-0.04
http://search.cpan.org/~sharifuln/Acme-CPANAuthors-Russian-0.04/
We are Russian CPAN authors 
----
Acme-CPANAuthors-Russian-0.05
http://search.cpan.org/~sharifuln/Acme-CPANAuthors-Russian-0.05/
We are Russian CPAN authors 
----
Acme-CPANAuthors-Russian-0.06
http://search.cpan.org/~sharifuln/Acme-CPANAuthors-Russian-0.06/
We are Russian CPAN authors 
----
Acme-CPANAuthors-Russian-0.1
http://search.cpan.org/~sharifuln/Acme-CPANAuthors-Russian-0.1/
We are Russian CPAN authors 
----
Acme-CPANAuthors-Russian-0.2
http://search.cpan.org/~sharifuln/Acme-CPANAuthors-Russian-0.2/
We are Russian CPAN authors 
----
Acme-RightSideOutObject-0.01
http://search.cpan.org/~swalters/Acme-RightSideOutObject-0.01/
Turn Class::InsideOut objects back right side out 
----
Algorithm-Evolutionary-0.63
http://search.cpan.org/~jmerelo/Algorithm-Evolutionary-0.63/
Perl extension for performing paradigm-free evolutionary algorithms. 
----
Any-Moose-0.03
http://search.cpan.org/~sartak/Any-Moose-0.03/
use Moose or Mouse modules 
----
Attribute-Imports-0.1
http://search.cpan.org/~lembark/Attribute-Imports-0.1/
----
Bundle-Dotiac-0.1
http://search.cpan.org/~maluku/Bundle-Dotiac-0.1/
Bundle Dotiac::DTL with all Addons 
----
CGI-Application-Server-0.061
http://search.cpan.org/~rjbs/CGI-Application-Server-0.061/
A simple HTTP server for developing with CGI::Application 
----
CPAN-Uploader-0.006
http://search.cpan.org/~rjbs/CPAN-Uploader-0.006/
upload things to the CPAN 
----
CPANPLUS-Dist-Build-0.06_03
http://search.cpan.org/~bingos/CPANPLUS-Dist-Build-0.06_03/
----
Carp-REPL-0.14
http://search.cpan.org/~sartak/Carp-REPL-0.14/
read-eval-print-loop on die and/or warn 
----
Catalyst-Action-Fixup-XHTML-0.03
http://search.cpan.org/~fayland/Catalyst-Action-Fixup-XHTML-0.03/
Catalyst action which serves application/xhtml+xml content if the browser accepts it. 
----
Catalyst-Action-Fixup-XHTML-0.04
http://search.cpan.org/~fayland/Catalyst-Action-Fixup-XHTML-0.04/
Catalyst action which serves application/xhtml+xml content if the browser accepts it. 
----
Catalyst-Action-Fixup-XHTML-0.05
http://search.cpan.org/~fayland/Catalyst-Action-Fixup-XHTML-0.05/
Catalyst action which serves application/xhtml+xml content if the browser accepts it. 
----
Catalyst-Model-DBIC-Schema-QueryLog-0.06
http://search.cpan.org/~fayland/Catalyst-Model-DBIC-Schema-QueryLog-0.06/
DBIx::Class::QueryLog Model Class 
----
Catalyst-Model-DBIC-Schema-QueryLog-0.07
http://search.cpan.org/~fayland/Catalyst-Model-DBIC-Schema-QueryLog-0.07/
DBIx::Class::QueryLog Model Class 
----
Catalyst-Plugin-Config-YAML-XS-0.02
http://search.cpan.org/~fayland/Catalyst-Plugin-Config-YAML-XS-0.02/
Configure your Catalyst application via an external YAML file 
----
Catalyst-Plugin-Config-YAML-XS-0.03
http://search.cpan.org/~fayland/Catalyst-Plugin-Config-YAML-XS-0.03/
Configure your Catalyst application via an external YAML file 
----
Catalyst-Plugin-MobileAgent-0.04
http://search.cpan.org/~kurihara/Catalyst-Plugin-MobileAgent-0.04/
HTTP mobile user agent string parser plugin for Catalyst 
----
Catalyst-Plugin-PickComponents-0.02
http://search.cpan.org/~fayland/Catalyst-Plugin-PickComponents-0.02/
Pick up the components for Catalyst. 
----
Catalyst-View-ContentNegotiation-XHTML-1.101
http://search.cpan.org/~bobtfish/Catalyst-View-ContentNegotiation-XHTML-1.101/
Adjusts the response Content-Type header to application/xhtml+xml if the browser accepts it. 
----
Data-DPath-0.03
http://search.cpan.org/~schwigon/Data-DPath-0.03/
DPath is not XPath! 
----
Date-Holidays-AU-0.06
http://search.cpan.org/~ddick/Date-Holidays-AU-0.06/
Determine Australian Public Holidays 
----
Dotiac-0.8
http://search.cpan.org/~maluku/Dotiac-0.8/
----
Dotiac-0.8_1
http://search.cpan.org/~maluku/Dotiac-0.8_1/
----
Dotiac-addon-case-insensitive-0.4
http://search.cpan.org/~maluku/Dotiac-addon-case-insensitive-0.4/
----
Dotiac-addon-html_template-0.1
http://search.cpan.org/~maluku/Dotiac-addon-html_template-0.1/
----
Dotiac-addon-html_template-0.2
http://search.cpan.org/~maluku/Dotiac-addon-html_template-0.2/
----
Dotiac-addon-markup-0.2
http://search.cpan.org/~maluku/Dotiac-addon-markup-0.2/
----
Email-Send-SMTP-TLS-0.03
http://search.cpan.org/~fayland/Email-Send-SMTP-TLS-0.03/
Send Email using Net::SMTP::TLS (esp. Gmail) 
----
File-Fetch-0.19_01
http://search.cpan.org/~kane/File-Fetch-0.19_01/
A generic file fetching mechanism 
----
HTML-Parser-3.60
http://search.cpan.org/~gaas/HTML-Parser-3.60/
HTML parser class 
----
Hash-Union-0.02
http://search.cpan.org/~lonerr/Hash-Union-0.02/
smart hashes merging 
----
Image-ExifTool-7.67
http://search.cpan.org/~exiftool/Image-ExifTool-7.67/
Read and write meta information 
----
Image-TextMode-0.04
http://search.cpan.org/~bricas/Image-TextMode-0.04/
Create, manipulate and save text mode images 
----
Internals-DumpArenas-0.03
http://search.cpan.org/~jjore/Internals-DumpArenas-0.03/
Dump perl memory 
----
Internals-DumpArenas-0.04
http://search.cpan.org/~jjore/Internals-DumpArenas-0.04/
Dump perl memory 
----
Internals-DumpArenas-0.05
http://search.cpan.org/~jjore/Internals-DumpArenas-0.05/
Dump perl memory 
----
Internals-DumpArenas-0.06
http://search.cpan.org/~jjore/Internals-DumpArenas-0.06/
Dump perl memory 
----
Internals-DumpArenas-0.07
http://search.cpan.org/~jjore/Internals-DumpArenas-0.07/
Dump perl memory 
----
LEOCHARRE-Test-1.11
http://search.cpan.org/~leocharre/LEOCHARRE-Test-1.11/
personal testing subs 
----
Locale-Geocode-1.2
http://search.cpan.org/~diz/Locale-Geocode-1.2/
----
Lux-IO-0.04
http://search.cpan.org/~kentaro/Lux-IO-0.04/
A Perl Interface to Lux IO 
----
MP3-CreateInlayCard-0.04
http://search.cpan.org/~bigpresh/MP3-CreateInlayCard-0.04/
create a CD inlay label for a directory of MP3 files 
----
Mouse-0.16
http://search.cpan.org/~sartak/Mouse-0.16/
Moose minus the antlers 
----
Net-BitTorrent-0.049_009
http://search.cpan.org/~sanko/Net-BitTorrent-0.049_009/
BitTorrent peer-to-peer protocol class 
----
Net-Trac-0.06
http://search.cpan.org/~jesse/Net-Trac-0.06/
Interact with a remote Trac instance 
----
Net-Whois-Raw-1.63
http://search.cpan.org/~despair/Net-Whois-Raw-1.63/
Get Whois information for domains 
----
Number-Format-1.62
http://search.cpan.org/~wrw/Number-Format-1.62/
Perl extension for formatting numbers 
----
POE-Component-Algorithm-Evolutionary-0.0.4
http://search.cpan.org/~jmerelo/POE-Component-Algorithm-Evolutionary-0.0.4/
Run evolutionary algorithms in a preemptive multitasking way. 
----
POE-Devel-ProcAlike-0.02
http://search.cpan.org/~apocal/POE-Devel-ProcAlike-0.02/
Exposing the guts of POE via FUSE 
----
Padre-Plugin-PerlTidy-0.05
http://search.cpan.org/~bricas/Padre-Plugin-PerlTidy-0.05/
Format perl files using Perl::Tidy 
----
Parse-ErrorString-Perl-0.13
http://search.cpan.org/~szabgab/Parse-ErrorString-Perl-0.13/
Parse error messages from the perl interpreter 
----
Perl6-Conf-0.04
http://search.cpan.org/~szabgab/Perl6-Conf-0.04/
Experimental Perl 6 implementation of an INI file reader 
----
Pod-Parser-1.38
http://search.cpan.org/~marekr/Pod-Parser-1.38/
base class for creating POD filters and translators 
----
Portable-Dist-0.03
http://search.cpan.org/~adamk/Portable-Dist-0.03/
Modify a Perl distribution to make it portable 
----
Regexp-Common-debian-0.1.4
http://search.cpan.org/~whynot/Regexp-Common-debian-0.1.4/
regexps for Debian specific strings 
----
Simo-0.07_01
http://search.cpan.org/~kimoto/Simo-0.07_01/
Very simple framework for Object Oriented Perl. 
----
Task-Lingua-Any-Numbers-0.10
http://search.cpan.org/~burak/Task-Lingua-Any-Numbers-0.10/
Installs all number to word modules. 
----
Task-Lingua-Any-Numbers-0.11
http://search.cpan.org/~burak/Task-Lingua-Any-Numbers-0.11/
Installs all number to word modules. 
----
Test-WWW-Mechanize-Catalyst-0.50_1
http://search.cpan.org/~ash/Test-WWW-Mechanize-Catalyst-0.50_1/
Test::WWW::Mechanize for Catalyst 
----
TheSchwartz-Simple-0.05
http://search.cpan.org/~miyagawa/TheSchwartz-Simple-0.05/
Lightweight TheSchwartz job dispatcher using plain DBI 
----
UMLS-Interface-0.17
http://search.cpan.org/~btmcinnes/UMLS-Interface-0.17/
Perl interface to the Unified Medical Language System (UMLS) 
----
UMLS-Interface-0.19
http://search.cpan.org/~btmcinnes/UMLS-Interface-0.19/
Perl interface to the Unified Medical Language System (UMLS) 
----
UMLS-Similarity-0.11
http://search.cpan.org/~btmcinnes/UMLS-Similarity-0.11/
This is a suite of Perl modules that implements a number of measures of semantic relatedness. These algorithms use the UMLS-Interface module to access the Unified Medical Language System (UMLS) to gen
----
Win32-IEAutomation-RapidShare-0.01
http://search.cpan.org/~kxj/Win32-IEAutomation-RapidShare-0.01/
Perl extension for downloading files hosted by RapidShare 
----
XML-Writer-Simple-0.03
http://search.cpan.org/~ambs/XML-Writer-Simple-0.03/
Create XML files easily! 
----
mpp-12
http://search.cpan.org/~pfeiffer/mpp-12/


If you're an author of one of these modules, please submit a detailed
announcement to comp.lang.perl.announce, and we'll pass it along.

This message was generated by a Perl program described in my Linux
Magazine column, which can be found on-line (along with more than
200 other freely available past column articles) at
  http://www.stonehenge.com/merlyn/LinuxMag/col82.html

print "Just another Perl hacker," # the original

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion


------------------------------

Date: Mon, 9 Feb 2009 19:16:20 -0600
From: Tad J McClellan <tadmc@seesig.invalid>
Subject: Re: parse newline
Message-Id: <slrngp1lb4.2cr.tadmc@tadmc30.sbcglobal.net>

Ted Zlatanov <tzz@lifelogs.com> wrote:

> Assuming your text is in FILE.TXT:
                                ^^^
                                ^^^
> od -t u1 -t a FILE.txt


    s/txt/TXT/;


:-)


-- 
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"


------------------------------

Date: Mon, 9 Feb 2009 19:19:38 -0600
From: Tad J McClellan <tadmc@seesig.invalid>
Subject: Re: perl script open/save for voiceMessage problems
Message-Id: <slrngp1lha.2cr.tadmc@tadmc30.sbcglobal.net>

paul.hopgood@deathnotify.com <paul.hopgood@deathnotify.com> wrote:

> Any suggestions would be helpful.


You should always enable strictures in Perl programs.


> #!/usr/bin/perl -w


    use strict;


>  open (SAVE, "> $deathnotify.com/recordings");


"use strict" would have found the bug in the line above if you
had only asked it to...


-- 
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"


------------------------------

Date: Tue, 10 Feb 2009 01:14:17 +0100
From: "Dr.Ruud" <rvtol+usenet@xs4all.nl>
Subject: Re: Perl vs. .NET
Message-Id: <4990c6d9$0$197$e4fe514c@news.xs4all.nl>

RedGrittyBrick wrote:
> Dr.Ruud:
>> cartercc:

>>> Java may be more appropriate for writing a program consisting
>>> of thousands of KLOCS for a point of sale system than Perl.
>>
>> I would rather have one made in Perl. My personal experience is that 
>> for the same presented functionality, in Perl one needs about 5% of 
>> the number of new lines of Java.
> 
> That's interesting,
> What was the user interface? character-mode or GUI? desktop application 
> or server based HTML? AJAX? - something else?

Straightforward webbased user interface, templates, some jQuery for 
DHTML and AJAX. Fully useable without a mouse too, commandline widget on 
every page for powerusers.


> Are you comparing Java's Swing vs Tk/Perl?

No.

-- 
Ruud


------------------------------

Date: Mon, 9 Feb 2009 18:19:31 -0800 (PST)
From: cartercc <cartercc@gmail.com>
Subject: PPM vs CPAN
Message-Id: <da2fc436-dce1-4f2f-a758-04423d03d3b0@t3g2000yqa.googlegroups.com>

I had a weird experience today. Using ActiveState Perl on a WinXP box,
I attempted to install a module from CPAN using the PPM shell. System
hung for about 15 minutes before I got the prompt back. A second
attempt had the same results. Finally, using CPAN to install the same
module successfully completed the task in a matter of seconds. I don't
recall whether it was on the order of 10 seconds or 100 seconds, but
the job was finished when I had poured myself a cup of coffee.

I've always had better results with PPM on this particular machine
than with CPAN, and I'm just wondering what the difference could be.

CC


------------------------------

Date: Tue, 10 Feb 2009 02:40:04 +0000
From: Ben Morrow <ben@morrow.me.uk>
Subject: Re: PPM vs CPAN
Message-Id: <416766-bl2.ln1@osiris.mauzo.dyndns.org>


Quoth cartercc <cartercc@gmail.com>:
> I had a weird experience today. Using ActiveState Perl on a WinXP box,
> I attempted to install a module from CPAN using the PPM shell. System
> hung for about 15 minutes before I got the prompt back.

Do you mean 'system hung', or do you mean 'ppm hung'? Did the mouse
freeze?  Did the cmd window stop refreshing itself? Could you ^C the
process?

> A second
> attempt had the same results. Finally, using CPAN to install the same
> module successfully completed the task in a matter of seconds. I don't
> recall whether it was on the order of 10 seconds or 100 seconds, but
> the job was finished when I had poured myself a cup of coffee.
> 
> I've always had better results with PPM on this particular machine
> than with CPAN, and I'm just wondering what the difference could be.

Presumably since they're downloading different files they are talking to
different machines, and the ppm machine wasn't responding. I am
surprised it hung for 15 minutes without some sort of timeout firing
(even if only the 'this isn't working... ^C' sort of timeout :) ).

Ben



------------------------------

Date: Mon, 9 Feb 2009 19:13:31 -0600
From: Tad J McClellan <tadmc@seesig.invalid>
Subject: Re: should be simple
Message-Id: <slrngp1l5r.2cr.tadmc@tadmc30.sbcglobal.net>

hendedav@gmail.com <hendedav@gmail.com> wrote:

> Subject: should be simple


Please put the subject of your article in the Subject of your article.


-- 
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"


------------------------------

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc.  For subscription or unsubscription requests, send
#the single line:
#
#	subscribe perl-users
#or:
#	unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.  

NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice. 

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.

#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V11 Issue 2197
***************************************


home help back first fref pref prev next nref lref last post