in reply to CPAN module fior common idioms?

How about

  1. String::Concatenate
    sub concatenate{ $_[ 0 ] . $_[ 1 ] }
  2. Algorithm::Numerical::Addition
    sub add{ $_[ 0 ] + $_[ 1 ] }
  3. Algorithm::Loop
    sub loop (&@) { $_[ 0 ]->( $_ ) for @_ }

Ultimately, they can all be ditched in favour of Algorithm::Just.

Synopsis: #!/usr/bin/perl -w use strict; use warnings; use diagnostics; use Data::Dumper; use Fatal; use IO::All; use Parse::RecDescent; use Getopt::Short; use Getopt::Standard; use Getopt::Long; use Config::Standard; use Pod::Usage; use DBI; use Class::DBI; use Class::MethodMaker; use Aspect; use Algorithm::Just; my $config = Config::Standard->new( @ARGS ); my $program = Algorithm::Just->new( $config ); exit $program->doit( instructions => 'Use what you need' );

Every programming problem solved, all you have to do is configure it right. Of course, now we need another module to save all that typing.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algoritm, algorithm on the code side." - tachyon

Replies are listed 'Best First'.
Re^2: CPAN module fior common idioms?
by mhi (Friar) on Jul 23, 2004 at 09:14 UTC
    Are you sure about not categorizing these under Acme::Idiomator?