Reviews by Adriano Rodrigues Ferreira

cpanratings
 

RSS

Text-Extract-Word (0.03) *****

I found about this module on perlmonks www.perlmonks.org/?node_id=849659

It just works. For a quick task to extract text from simple .doc files, it made reading the content of the Word files the easy part of the job.

Adriano Rodrigues Ferreira - 2012-01-31T10:34:34 (permalink)

Was this review helpful to you?  Yes No

DBIx-NamedBinding (0.01)

This comment is only to notice that there are two CPAN distributions that provide named placeholders for DBI too. They are:

DBIx-Placeholder-Named which supports named placeholders :name, does the right thing when things like "12:00" happens inside strings, and has a modified "execute" with a hash ref arg which does all primitive bindings and execute in one-shot.

Tao-DBI which inspired DBIx-Placeholder-Named, but which is not a DBI subclass by now, using delegation instead. It still does not implement the tokenizing trick of DBIx-Placeholder-Named to avoid confusions with ':' in strings. It has a bit more of API to make certain things easier: like supporting "$dbh->execute($arg)" (for one-named-placeholder SQL statements) besides "$dbh->execute(\%args)" and a few more details.

Adriano Rodrigues Ferreira - 2008-02-24T04:50:42 (permalink)

2 out of 3 found this review helpful. Was this review helpful to you?  Yes No

list_versions (0.03) ***


The scripts "module_info" (from Module-Info distribution) and "which_pm" (from Module-Which distribution) do similar jobs. However, an output format easy to be inserted into Makefile.PL/Build.PL is quite nice an idea.

Since 0.03 release, some initial packaging issues were cleared. So this dist is now ready to be installed from CPAN shell and provides the basic files one waits according to CPAN standards.

Adriano Rodrigues Ferreira - 2008-02-09T09:19:05 (permalink)

3 out of 3 found this review helpful. Was this review helpful to you?  Yes No

DateTime-Format-Flexible (0.02) **

The official datetime site: datetime.perl.org/ includes this module among the confusing modules that live in the DateTime:: namespace
and says:

DateTime::Format::Flexible - largely a subset of

DateTime::Format::Natural, and not recommended. Use

DateTime::Format::Natural instead (and submit patches

to improve its parsing if needed ;)

One of the greatest sins of these module IMHO is to not comply to the API convention of DateTime parsers which at least should implement the "parse_datetime" method. (The author makes this functionality available through a "build" class method, according to the synopsis.) Most of DateTime::Format:: modules implement this, which is good for interoperation with code which expects any well-behaved DateTime::Format. Of course, this is a small sin which can be easily remedied by the author.

Adriano Rodrigues Ferreira - 2008-02-07T10:25:03 (permalink)

4 out of 4 found this review helpful. Was this review helpful to you?  Yes No

Module-Mask (0.03)

This module functionality seems to be overlapping with *Devel::Hide* (search.cpan.org/dist/Devel-Hide/). Maybe because *Devel::Hide* is not such an intuitive name as it should have been. Ah, and before *Devel::Hide*, *Test::Without::Module* (search.cpan.org/dist/Test-Without-Mod... already existed. (Not a good name also, because it is not a real testing module.)

Adriano Rodrigues Ferreira - 2007-07-16T10:34:34 (permalink)

4 out of 4 found this review helpful. Was this review helpful to you?  Yes No

Is-Kennitala (0.02)

The usual naming for modules that do validation of national ids is something like: Business::IS::(id name or acronym). This is so with Business::AU::TFN, Business::AU::ACN for Australian codes, Business::DK::CPR, Business::DK::CVR, Business::DK::PO for Danish ids, Business::BR::CPF, Business::BR::CNPJ for Brazilian codes. The advantage is that people used to this convention will intuitively find the module by looking for Business::IS modules.

Adriano Rodrigues Ferreira - 2007-01-31T02:23:15 (permalink)

3 out of 4 found this review helpful. Was this review helpful to you?  Yes No

Acme-DonMartin (0.09) *****

I enjoy very much this module maybe because I highly appreciate Don Martin's sense of humour. Others may prefer Acme::MetaSyntactic::batman if they like most Batman onomatopoeias, but to me Don Martin is matchless. If you want to have fun about people who say Perl is unreadable, give them a script encoded by this module and entice them to read it aloud.

Adriano Rodrigues Ferreira - 2006-11-06T04:57:34 (permalink)

2 out of 3 found this review helpful. Was this review helpful to you?  Yes No

IO-Infiles (0.01)

Haven't tried yet. But is it not what Inline::Files by Damian Conway does? Even the abstract looks similar.

Adriano Rodrigues Ferreira - 2005-09-20T13:26:52 (permalink)

0 out of 1 found this review helpful. Was this review helpful to you?  Yes No

Class-Phrasebook (0.88) *****

This is a useful module, which made much better some of my applications with access to SQL databases. Not mixing SQL and Perl enhances maintenance and evolution. Clean and nice. The rationale is described at the article www.perl.com/pub/a/2002/10/22/phraseb...

Sometimes this module tries to do too much wrt support for debugging and logging capabilities. I think investment in alternates book layouts would be more profitable.

Actually, Class::Phrasebook is being superseded by the new Barbie's Data::Phrasebook which supports INI and YAML formats and more in addition to XML. But this module has many strong points, like phrase interpolation, support for SQL specials, and is so easy to use.

Adriano Rodrigues Ferreira - 2005-08-09T18:57:36 (permalink)

4 out of 4 found this review helpful. Was this review helpful to you?  Yes No

Carp-Indeed (0.02)

Carp::Indeed really does

use Carp qw(verbose)

which makes carp() and croak() print stack backtraces, but do not affect warn() and die(). That's what the module does: brings stack backtraces to warn()ings and "deaths".

The documentation needs to be shortened and made more objective. But my main thrust was when I read, in Acme::JavaTrace, saper saying printing stack traces like Java is "more professional" than the Perl style. I couldn't help it: ten lines of codes aided by the Carp module were enough.

Adriano Rodrigues Ferreira - 2005-08-05T19:10:30 (permalink)

2 out of 4 found this review helpful. Was this review helpful to you?  Yes No

Kwiki-Comments (0.06)

I have been harsh reviewing the release 0.01 of this module: it had no documentation at all. It looks way better now.

Adriano Rodrigues Ferreira - 2005-08-05T18:22:44 (permalink)

1 out of 2 found this review helpful. Was this review helpful to you?  Yes No

YAML (0.35) ****

YAML is extremely nice or, to use author's words, really cool. It is much more legible than awkward XML and matches Perl way of life, without being bound to Perl only.

The module is really useful and gives us the immediate benefit of using YAML today. It has many problems and the version 0.50 is expected with anxiety. The interface is simple and obviously easy to use. Sometimes one misses it is not more powerful, for instance, LoadFile does not accept globs (which is a pity). I find that the two utility scripts C<ysh> and C<xyx> are handy tools.

I think YAML has a very promising role in Perl developments and other languages. One would not regret to experiment with YAML 0.35 today and even use it for production purposes. But we sure long for YAML 0.50 which probably will come with support to YAML specification 1.0 (not yet finished).

Adriano Rodrigues Ferreira - 2004-07-16T19:16:48 (permalink)

3 out of 4 found this review helpful. Was this review helpful to you?  Yes No