[29814] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 1057 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sat Nov 24 03:09:36 2007

Date: Sat, 24 Nov 2007 00:09:05 -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           Sat, 24 Nov 2007     Volume: 11 Number: 1057

Today's topics:
    Re: How to get the string Cartesian Products of 2 list xueweizhong@gmail.com
    Re: How to get the string Cartesian Products of 2 list xueweizhong@gmail.com
        new CPAN modules on Sat Nov 24 2007 (Randal Schwartz)
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Fri, 23 Nov 2007 22:08:23 -0800 (PST)
From: xueweizhong@gmail.com
Subject: Re: How to get the string Cartesian Products of 2 list
Message-Id: <591c3db8-907b-4f6c-bd38-1b77b4c1087b@i12g2000prf.googlegroups.com>

Hi Ruud,

<glob "{@{[ q{a}..q{c} ]}}{@{[ 1..3 ]}}"

Really nice, a pure perl way now rather than dependant on my bash one.

After your inspiration, i get another solution using map:

>perl -e 'print join ",", map { my $g=$_; map $g.$_,1..3 } "a".."c"'
a1,a2,a3,b1,b2,b3,c1,c2,c3


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

Date: Fri, 23 Nov 2007 22:15:05 -0800 (PST)
From: xueweizhong@gmail.com
Subject: Re: How to get the string Cartesian Products of 2 list
Message-Id: <9749e8a7-09d0-4382-a10c-52d3df326b2d@s36g2000prg.googlegroups.com>

> You should realize that Perl is a programming language and thus does not
> have all the shortcuts that bash offers.  No Perl solution will satisfy
> you if you just want bash.  If you want bash, use bash.
I use everything I have. Why not do the programming in mutiple
lanugages which complements each other.

--Todd


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

Date: Sat, 24 Nov 2007 05:42:15 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Sat Nov 24 2007
Message-Id: <Jrzx6F.J26@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.

AnyEvent-2.7
http://search.cpan.org/~mlehmann/AnyEvent-2.7/
provide framework for multiple event loops 
----
Apache-Logmonster-3.04
http://search.cpan.org/~msimerson/Apache-Logmonster-3.04/
log utility for merging, sorting, and processing web logs 
----
App-sync_cpantesters-0.01
http://search.cpan.org/~marcel/App-sync_cpantesters-0.01/
Sync CPAN testers failure reports to local dir 
----
Business-Address-POBox-0.03
http://search.cpan.org/~marcel/Business-Address-POBox-0.03/
Check whether an address looks like a P.O.Box 
----
Business-Address-POBox-0.04
http://search.cpan.org/~marcel/Business-Address-POBox-0.04/
Check whether an address looks like a P.O.Box 
----
Business-OnlinePayment-AuthorizeNet-3.18
http://search.cpan.org/~ivan/Business-OnlinePayment-AuthorizeNet-3.18/
AuthorizeNet backend for Business::OnlinePayment 
----
Business-OnlinePayment-AuthorizeNet-3.19
http://search.cpan.org/~ivan/Business-OnlinePayment-AuthorizeNet-3.19/
AuthorizeNet backend for Business::OnlinePayment 
----
Class-MOP-0.46
http://search.cpan.org/~stevan/Class-MOP-0.46/
A Meta Object Protocol for Perl 5 
----
DBIx-SearchBuilder-1.50
http://search.cpan.org/~ruz/DBIx-SearchBuilder-1.50/
Encapsulate SQL queries and rows in simple perl objects 
----
Font-TTF-Scripts-0.10.2
http://search.cpan.org/~mhosken/Font-TTF-Scripts-0.10.2/
Smart font script supporting modules and scripts for TTF/OTF 
----
HTML-DOM-0.009
http://search.cpan.org/~sprout/HTML-DOM-0.009/
A Perl implementation of the HTML Document Object Model 
----
HTML-TurboForm-0.04
http://search.cpan.org/~camelcase/HTML-TurboForm-0.04/
----
IO-Ppoll-0.03
http://search.cpan.org/~pevans/IO-Ppoll-0.03/
Object interface to Linux's ppoll() call 
----
JE-0.019
http://search.cpan.org/~sprout/JE-0.019/
Pure-Perl ECMAScript (JavaScript) Engine 
----
Language-MuldisD-0.12.0
http://search.cpan.org/~duncand/Language-MuldisD-0.12.0/
Formal spec of Muldis D relational DBMS lang 
----
Mail-Toaster-5.08
http://search.cpan.org/~msimerson/Mail-Toaster-5.08/
turns a computer into a secure, full-featured, high-performance mail server. 
----
Moose-0.30
http://search.cpan.org/~stevan/Moose-0.30/
A complete modern object system for Perl 5 
----
MooseX-AttributeHelpers-0.04
http://search.cpan.org/~stevan/MooseX-AttributeHelpers-0.04/
Extend your attribute interfaces 
----
MooseX-Getopt-0.06
http://search.cpan.org/~stevan/MooseX-Getopt-0.06/
A Moose role for processing command line options 
----
Net-Address-Ethernet-1.101
http://search.cpan.org/~mthurn/Net-Address-Ethernet-1.101/
find hardware ethernet address 
----
Net-Z3950-Simple2ZOOM-1.02
http://search.cpan.org/~mirk/Net-Z3950-Simple2ZOOM-1.02/
Gateway between Z39.50 and SRU/SRW 
----
SWISH-Prog-0.08
http://search.cpan.org/~karman/SWISH-Prog-0.08/
Swish-e document aggregation 
----
Search-Tools-0.16
http://search.cpan.org/~karman/Search-Tools-0.16/
tools for building search applications 
----
Sphinx-Search-0.08
http://search.cpan.org/~jjschutz/Sphinx-Search-0.08/
Sphinx search engine API Perl client 
----
Storable-2.18
http://search.cpan.org/~ams/Storable-2.18/
persistence for Perl data structures 
----
Text-CSV_PP-Simple
http://search.cpan.org/~cohtan/Text-CSV_PP-Simple/
Simpler parsing of CSV files [PP version] 
----
Text-CSV_PP-Simple-0.0.1
http://search.cpan.org/~cohtan/Text-CSV_PP-Simple-0.0.1/
Simpler parsing of CSV files [PP version] 
----
Text-CSV_PP-Simple-0.0.2
http://search.cpan.org/~cohtan/Text-CSV_PP-Simple-0.0.2/
Simpler parsing of CSV files [PP version] 
----
Text-CSV_PP-Simple-0.0.3
http://search.cpan.org/~cohtan/Text-CSV_PP-Simple-0.0.3/
Simpler parsing of CSV files [PP version] 
----
Text-CSV_PP-Simple-0.0.4
http://search.cpan.org/~cohtan/Text-CSV_PP-Simple-0.0.4/
Simpler parsing of CSV files [PP version] 
----
Video-ZVBI-0.2.2
http://search.cpan.org/~tomzo/Video-ZVBI-0.2.2/
VBI decoding (teletext, closed caption, ...) 
----
WWW-Domain-Registry-Joker-0.04
http://search.cpan.org/~roam/WWW-Domain-Registry-Joker-0.04/
an interface to the Joker.com DMAPI 
----
onto-perl-1.03
http://search.cpan.org/~easr/onto-perl-1.03/


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/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


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

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 1057
***************************************


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