[31198] in Perl-Users-Digest
Perl-Users Digest, Issue: 2443 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue May 26 03:09:42 2009
Date: Tue, 26 May 2009 00:09:05 -0700 (PDT)
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, 26 May 2009 Volume: 11 Number: 2443
Today's topics:
Re: Array <hjp-usenet2@hjp.at>
Re: Is PERL good for a linguist new to programming? p.podmostko@googlemail.com
Re: Is PERL good for a linguist new to programming? <1usa@llenroc.ude.invalid>
Re: Is PERL good for a linguist new to programming? <cartercc@gmail.com>
Re: Is PERL good for a linguist new to programming? <mvdwege@maily.com>
Re: Is PERL good for a linguist new to programming? <news@lawshouse.org>
Re: Is PERL good for a linguist new to programming? <uri@StemSystems.com>
Re: Is PERL good for a linguist new to programming? <glennj@ncf.ca>
Re: Is PERL good for a linguist new to programming? <1usa@llenroc.ude.invalid>
new CPAN modules on Tue May 26 2009 (Randal Schwartz)
Problems installing Jifty. Test::WWW::Selenium fails b/ <jim.x.kc@gmail.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Mon, 25 May 2009 21:57:00 +0200
From: "Peter J. Holzer" <hjp-usenet2@hjp.at>
Subject: Re: Array
Message-Id: <slrnh1lu0d.cd5.hjp-usenet2@hrunkner.hjp.at>
On 2009-05-25 13:39, Faith Greenwood <fgnowfg@gmail.com> wrote:
> Seems like I've been googling for hours and can't find the solution.
"perldoc DBI" almost always provides the right answer to the question
"how do I ... with DBI".
> Maybe someone here can help:
>
> I have 3 arrays, each with 3 items:
> @array1=(1,2,3); #names
> @array2=(4,5,6); #email addresses
> @array3=(7,8,9); #cities
>
> I need to put the values of each into a database, in order. This is
> the idea I have so far, which is obviously wrong:
>
> foreach (@array1){
You don't need the loop.
> my $sql = "INSERT INTO example (names,email,city) VALUES (?,?,?)";
> my $sth = $dbh->prepare($sql);
> $sth->execute($array1,$array2,$array3);
$sth->execute_array({}, \@array1, \@array2, \@array3);
hp
------------------------------
Date: Mon, 25 May 2009 11:12:40 -0700 (PDT)
From: p.podmostko@googlemail.com
Subject: Re: Is PERL good for a linguist new to programming?
Message-Id: <3fe30943-ea67-48eb-98ed-1c52f97a3f3f@o14g2000vbo.googlegroups.com>
On May 25, 5:06=A0pm, "Uri Guttman" <u...@StemSystems.com> wrote:
> >>>>> "pp" =3D=3D p podmostko <p.podmos...@googlemail.com> writes:
>
> =A0 pp> Right now for example im racking my brains how to sort several wo=
rds
> =A0 pp> alphabetically using only if, for, else, and several variables. S=
o i
> =A0 pp> really got into it but im afraid that ill get discouraged if i se=
e im
> =A0 pp> not cut out for it.
>
> that is a classic part of the knowledge scaling i mentioned. sorting is
> one of the core areas taught in every algorithm class. i won't give you
> a fish but you want to learn the bubble sort. it is the easiest sort to
> code up but one of the slowest to run. but the speed doesn't matter for
> short data sets and it is very educational to know how to code it up and
> learning WHY it is slow.
>
> uri
>
> --
> Uri Guttman =A0------ =A0u...@stemsystems.com =A0-------- =A0http://www.s=
ysarch.com--
> ----- =A0Perl Code Review , Architecture, Development, Training, Support =
------
> --------- Free Perl Training ---http://perlhunter.com/college.html-------=
--
> --------- =A0Gourmet Hot Cocoa Mix =A0---- =A0http://bestfriendscocoa.com=
---------
Im aware of something like "sort" but i just a wanted to make it a
challenge to myself and use only the resources that i know at this
stage :)
Do you guys write out algorithms very often before sitting down to
programming?
Regards
Przemek
------------------------------
Date: Mon, 25 May 2009 18:33:12 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: Is PERL good for a linguist new to programming?
Message-Id: <Xns9C16940B87D70asu1cornelledu@127.0.0.1>
p.podmostko@googlemail.com wrote in
news:3fe30943-ea67-48eb-98ed-1c52f97a3f3f@o14g2000vbo.googlegroups.com:
> On May 25, 5:06 pm, "Uri Guttman" <u...@StemSystems.com> wrote:
>> >>>>> "pp" == p podmostko <p.podmos...@googlemail.com> writes:
>>
>> pp> Right now for example im racking my brains how to sort several
>> pp> words alphabetically using only if, for, else, and several
>> pp> variables.
...
>> that is a classic part of the knowledge scaling i mentioned. sorting
>> is one of the core areas taught in every algorithm class. i won't
>> give you a fish but you want to learn the bubble sort. it is the
>> easiest sort to code up but one of the slowest to run. but the speed
>> doesn't matter for short data sets and it is very educational to know
>> how to code it up and learning WHY it is slow.
...
> Im aware of something like "sort" but i just a wanted to make it a
> challenge to myself and use only the resources that i know at this
> stage :)
Exactly. That is why Uri recommended you try to implement the Bubble
Sort algorithm. It is easy to implement (it was a demo that came with my
ZX Spectrum 48K back in 1982 ... written in Basic and read from cassette
tape -- In fact, after almost 20 years of continuous beeping first from
cassettes then from modems whenever I tried to do something useful, I
find the quiet that comes with today's internet access quite
disturbing). OK, that was not relevant but neither is drumming ;-)
> Do you guys write out algorithms very often before sitting down to
> programming?
No. I steal other people's algorithms.
Now, if you were asking about thinking about what to write, how to
organize it, how things fit together etc, yes, always. All the time.
Every time.
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/
------------------------------
Date: Mon, 25 May 2009 13:16:54 -0700 (PDT)
From: ccc31807 <cartercc@gmail.com>
Subject: Re: Is PERL good for a linguist new to programming?
Message-Id: <3e63aa6b-bfbd-4024-bc34-1b10082a105b@f19g2000yqh.googlegroups.com>
On May 25, 12:12=A0pm, p.podmos...@googlemail.com wrote:
> I also want to be a better
> specialist in my domain (im a translator), but hence my above
> question.
Programming is also translation -- translating a language that a human
can understand (like Perl) to a language that a machine can understand
(like 1s and 0s).
> Im just worried if my brain will be up to par with all the
> challenges posed by programming.
I think that the sense from all the responses to this thread is that
the language is the easy part, doing the job is the hard part. I
started off by saying that a programming language is simply a tool.
Think about this: what if you had all the proper tools for a job and
knew how to use the tools, but had no idea how to do the job?
A famous computer scientist (I've forgotten who) said that we have two
shining jewels that enabled the modern age: calculus and algorithms.
(Quote is approximate.) The idea of the algorithm is ABSOLUTELY
fundamental to the modern age, and I'm sure that you use algorithms
all the time without realizing it. This has nothing to do with this
thread, but it might be helpful for you to spend a little time
thinking about what algorithms are and why the idea of the algorithm
is so important.
> Right now for example im racking my brains how to sort several words
> alphabetically using only if, for, else, and several variables. So i
> really got into it but im afraid that ill get discouraged if i see im
> not cut out for it.
There was an article on slashdot.com several weeks ago about the
practice of programming a generation ago. One thing that struck me was
that several decades ago, programmers implemented their own sorting
routines, and the journeymen programmer could write several different
sorting algorithms relative to the job at hand. There are a number of
web sites that have animated different sorting routines. It might be
helpful at some point to implement several of these algorithms using
Perl.
http://en.wikipedia.org/wiki/Sorting_algorithm
CC
------------------------------
Date: Mon, 25 May 2009 23:14:59 +0200
From: Mart van de Wege <mvdwege@maily.com>
Subject: Re: Is PERL good for a linguist new to programming?
Message-Id: <86my90ubos.fsf@gareth.avalon.lan>
ccc31807 <cartercc@gmail.com> writes:
> On May 25, 12:12Â pm, p.podmos...@googlemail.com wrote:
>> I also want to be a better
>> specialist in my domain (im a translator), but hence my above
>> question.
>
> Programming is also translation -- translating a language that a human
> can understand (like Perl) to a language that a machine can understand
> (like 1s and 0s).
My personal experience is that that is the wrong place to start
learning.
Yes, programming is translating an algorithm into concrete
steps. However, before you can start with the translation, you *must*
know what your data set is and how you want to transform it. Once you
know that, you can start selecting algorithms, and then you can start
implementing.
I once saw a colleague use multiple sequential 'if' statements to
generate snippets from a config file, with the 'if' selecting the only
thing that changed, and spitting out the entire snippet with the one
change. Had he had a little more experience, he would put the changing
items in a list and iterated over that, using a here document with
variable substitution to generate the config snippets.
Mart
--
"We will need a longer wall when the revolution comes."
--- AJS, quoting an uncertain source.
------------------------------
Date: Mon, 25 May 2009 23:07:13 +0100
From: Henry Law <news@lawshouse.org>
Subject: Re: Is PERL good for a linguist new to programming?
Message-Id: <1243289234.15094.0@proxy00.news.clara.net>
p.podmostko@googlemail.com wrote:
> Well, I'll try anyway :) Thank you for so many suggestions and
> comments.
>
> I'm a drummer myself, I write music.
Then you'll understand the difference between knowing a programming
language, which parallels understanding scales and notation and pitch
and consonance and dissonance and "rules", and programming, which
parallels composing music.
Q: What is the difference between a drum machine and a drummer?
A: You only have to punch the rhythm into a drum machine once.
--
Henry Law Manchester, England
------------------------------
Date: Mon, 25 May 2009 18:09:49 -0400
From: "Uri Guttman" <uri@StemSystems.com>
Subject: Re: Is PERL good for a linguist new to programming?
Message-Id: <87ab50yguq.fsf@quad.sysarch.com>
>>>>> "pp" == p podmostko <p.podmostko@googlemail.com> writes:
pp> On May 25, 5:06 pm, "Uri Guttman" <u...@StemSystems.com> wrote:
>>
>> that is a classic part of the knowledge scaling i mentioned. sorting is
>> one of the core areas taught in every algorithm class. i won't give you
>> a fish but you want to learn the bubble sort. it is the easiest sort to
>> code up but one of the slowest to run. but the speed doesn't matter for
>> short data sets and it is very educational to know how to code it up and
>> learning WHY it is slow.
pp> Im aware of something like "sort" but i just a wanted to make it a
pp> challenge to myself and use only the resources that i know at this
pp> stage :)
but sort uses a particular algorithm, one of many that exist to do
sorting. some are specialized for certain data sets, some are general
purpose but have different degenerative cases (i.e. they can get very
slow with certain data sets). as i said sorting is a very core part of
algorithms.
pp> Do you guys write out algorithms very often before sitting down to
pp> programming?
you don't write out algorithm. they are a specific way to solve a
specific problem in a theoritical way. you still have to implement the
algorithm in a programming language and that can be easy or hard
depending on many factors including the complexity of the algorithm and
the skill of the coder. and you can code it up well or very crappy
too. a good coding of a bad algorithm can be better than a bad coding of
a good algorithm.
a good coder knows many fundamental algorithms or how to use modules
that implement them. i don't write out sort coding directly
anymore. instead i use perl's sort function but even that can be used in
better or worse ways. so understanding the concepts of sorting is important
to using it effectively and efficiently even if you don't directly code
the sorting yourself. this is why knowing basic algorithm theory is
important to any coder who wants to be a professional. and it is why so
many kiddies out there think they code well but don't since they have no
fundamentals.
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: 26 May 2009 00:14:53 GMT
From: Glenn Jackman <glennj@ncf.ca>
Subject: Re: Is PERL good for a linguist new to programming?
Message-Id: <slrnh1md3t.et5.glennj@smeagol.ncf.ca>
At 2009-05-25 02:12PM, "p.podmostko@googlemail.com" wrote:
> Im aware of something like "sort" but i just a wanted to make it a
> challenge to myself and use only the resources that i know at this
> stage :)
You might also want to peruse www.rosettacode.org
The are dozens of programming challenges, most with Perl solutions. The
challenges are clearly written, many with pseudo-code for you.
--
Glenn Jackman
Write a wise saying and your name will live forever. -- Anonymous
------------------------------
Date: Tue, 26 May 2009 00:42:17 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: Is PERL good for a linguist new to programming?
Message-Id: <Xns9C16D2A00AD37asu1cornelledu@127.0.0.1>
ccc31807 <cartercc@gmail.com> wrote in news:3e63aa6b-bfbd-4024-bc34-
1b10082a105b@f19g2000yqh.googlegroups.com:
> On May 25, 12:12 pm, p.podmos...@googlemail.com wrote:
>> I also want to be a better
>> specialist in my domain (im a translator), but hence my above
>> question.
>
> Programming is also translation -- translating a language that a human
> can understand (like Perl) to a language that a machine can understand
> (like 1s and 0s).
No no no ... That is not programming. That is compilation.
> Think about this: what if you had all the proper tools for a job and
> knew how to use the tools, but had no idea how to do the job?
Quite right.
> A famous computer scientist (I've forgotten who) said that we have two
> shining jewels that enabled the modern age: calculus and algorithms.
> (Quote is approximate.)
Formal algorithms (see http://en.wikipedia.org/wiki/Muhammad_ibn_M%C5%
ABs%C4%81_al-Khw%C4%81rizm%C4%AB) and Calculus existed a long time
without much effect on the daily lives of people. We owe modernity to
political and economic freedom but that is getting waaaaaayyyy to far
off-topic.
> The idea of the algorithm is ABSOLUTELY
> fundamental to the modern age, and I'm sure that you use algorithms
> all the time without realizing it. This has nothing to do with this
> thread, but it might be helpful for you to spend a little time
> thinking about what algorithms are and why the idea of the algorithm
> is so important.
An algorithm is a carefully constructed complete recipe for doing
something. So, yeah, they are everywhere. And, guess what, they were
available even before they were formally named algorithms.
> There was an article on slashdot.com several weeks ago about the
> practice of programming a generation ago.
This should give you an idea:
http://prog21.dadgum.com/29.html
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/
------------------------------
Date: Tue, 26 May 2009 04:42:28 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Tue May 26 2009
Message-Id: <KK8IEs.D5r@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-POE-0.02
http://search.cpan.org/~bingos/Acme-CPANAuthors-POE-0.02/
We are CPAN Authors of POE
----
Badger-0.05_03
http://search.cpan.org/~abw/Badger-0.05_03/
Perl Application Programming Toolkit
----
CHI-Driver-Memcached-0.06
http://search.cpan.org/~jswartz/CHI-Driver-Memcached-0.06/
Distributed cache via memcached (memory cache daemon)
----
CPANTS-Weight-0.15
http://search.cpan.org/~adamk/CPANTS-Weight-0.15/
Graph based weights for CPAN Distributions
----
Catalyst-Action-SubDomain-0.05
http://search.cpan.org/~egor/Catalyst-Action-SubDomain-0.05/
Match action against names of subdomains
----
DBIx-Web-0.79
http://search.cpan.org/~makarow/DBIx-Web-0.79/
Active Web Database Layer
----
DateTime-Format-Flexible-0.09
http://search.cpan.org/~thinc/DateTime-Format-Flexible-0.09/
DateTime::Format::Flexible - Flexibly parse strings and turn them into DateTime objects.
----
Devel-Ditto-0.01
http://search.cpan.org/~andya/Devel-Ditto-0.01/
Identify where print output comes from
----
Devel-Ditto-0.02
http://search.cpan.org/~andya/Devel-Ditto-0.02/
Identify where print output comes from
----
Devel-Ditto-0.03
http://search.cpan.org/~andya/Devel-Ditto-0.03/
Identify where print output comes from
----
Devel-Ditto-0.04
http://search.cpan.org/~andya/Devel-Ditto-0.04/
Identify where print output comes from
----
Devel-Ditto-0.05
http://search.cpan.org/~andya/Devel-Ditto-0.05/
Identify where print output comes from
----
Games-Quake-Stats-0.01
http://search.cpan.org/~mbeebe/Games-Quake-Stats-0.01/
Perl module for compiling basic Quake game statistics
----
Geo-Point-0.91
http://search.cpan.org/~markov/Geo-Point-0.91/
a point on the globe
----
HTML-GenerateUtil-1.10
http://search.cpan.org/~robm/HTML-GenerateUtil-1.10/
Routines useful when generating HTML output
----
HTTP-MobileAgent-Flash-0.07
http://search.cpan.org/~takefumi/HTTP-MobileAgent-Flash-0.07/
Flash information for HTTP::MobileAgent
----
IMDB-Film-0.37
http://search.cpan.org/~stepanov/IMDB-Film-0.37/
OO Perl interface to the movies database IMDB.
----
IO-Async-Loop-Epoll-0.05
http://search.cpan.org/~pevans/IO-Async-Loop-Epoll-0.05/
a Loop using an IO::Epoll object
----
IO-Async-Loop-Glib-0.15
http://search.cpan.org/~pevans/IO-Async-Loop-Glib-0.15/
a Loop using the Glib::MainLoop object
----
IO-Async-Loop-IO_Ppoll-0.04
http://search.cpan.org/~pevans/IO-Async-Loop-IO_Ppoll-0.04/
a Loop using an IO::Ppoll object
----
LWP-UserAgent-Mockable-1.10
http://search.cpan.org/~mmorgan/LWP-UserAgent-Mockable-1.10/
Permits recording, and later playing back of LWP requests.
----
MRO-Define-0.01
http://search.cpan.org/~flora/MRO-Define-0.01/
Define your own method resolution order
----
MRO-Magic-0.091450
http://search.cpan.org/~rjbs/MRO-Magic-0.091450/
write your own method dispatcher
----
MachineLearning-1.01
http://search.cpan.org/~bfitch/MachineLearning-1.01/
base class for MachineLearning objects
----
Math-Polygon-1.01
http://search.cpan.org/~markov/Math-Polygon-1.01/
Class for maintaining polygon data
----
MooseX-MethodAttributes-0.12
http://search.cpan.org/~bobtfish/MooseX-MethodAttributes-0.12/
code attribute introspection
----
Net-Twitter-2.99000_04
http://search.cpan.org/~mmims/Net-Twitter-2.99000_04/
A perl interface to the Twitter API
----
ORLite-1.21
http://search.cpan.org/~adamk/ORLite-1.21/
Extremely light weight SQLite-specific ORM
----
Object-Simple-0.01_02
http://search.cpan.org/~kimoto/Object-Simple-0.01_02/
Very simple framework for Object Oriented Perl.
----
Object-Simple-Error-0.01_02
http://search.cpan.org/~kimoto/Object-Simple-Error-0.01_02/
Error object for Object::Simple
----
Ocs-Nagios-0.0.1
http://search.cpan.org/~jsa/Ocs-Nagios-0.0.1/
Import OCS Inventory devices in Nagios
----
Outline-Lua-0.10
http://search.cpan.org/~altreus/Outline-Lua-0.10/
Run Lua code from a string, rather than embedded.
----
POSIX-RT-Semaphore-0.05
http://search.cpan.org/~mjp/POSIX-RT-Semaphore-0.05/
Perl interface to POSIX.1b semaphores
----
Padre-Plugin-Catalyst-0.03
http://search.cpan.org/~garu/Padre-Plugin-Catalyst-0.03/
Simple Catalyst helper interface for Padre
----
Parse-IASLog-1.10
http://search.cpan.org/~bingos/Parse-IASLog-1.10/
A parser for Microsoft IAS-formatted log entries.
----
Perl6-Pod-0.01_01
http://search.cpan.org/~zag/Perl6-Pod-0.01_01/
use Perl6's pod in perl5 programms
----
SVG-Calendar-0.1.3
http://search.cpan.org/~ivanwills/SVG-Calendar-0.1.3/
Creates calendars in SVG format which can be printed
----
Scalar-Alias-0.03
http://search.cpan.org/~gfuji/Scalar-Alias-0.03/
Perl extention to declare lexical aliases
----
Scalar-Alias-0.04
http://search.cpan.org/~gfuji/Scalar-Alias-0.04/
Perl extention to declare lexical aliases
----
Task-Kensho-0.11
http://search.cpan.org/~perigrin/Task-Kensho-0.11/
A Glimpse at an Enlightened Perl
----
Task-SDK-Perigrin-0.03
http://search.cpan.org/~perigrin/Task-SDK-Perigrin-0.03/
A List of Modules I Use Constantly
----
TaskForest-1.27
http://search.cpan.org/~enoor/TaskForest-1.27/
A simple but expressive job scheduler that allows you to chain jobs/tasks and create time dependencies. Uses text config files to specify task dependencies.
----
TaskForest-1.28
http://search.cpan.org/~enoor/TaskForest-1.28/
A simple but expressive job scheduler that allows you to chain jobs/tasks and create time dependencies. Uses text config files to specify task dependencies.
----
TaskForest-1.29
http://search.cpan.org/~enoor/TaskForest-1.29/
A simple but expressive job scheduler that allows you to chain jobs/tasks and create time dependencies. Uses text config files to specify task dependencies.
----
TaskForest-1.30
http://search.cpan.org/~enoor/TaskForest-1.30/
A simple but expressive job scheduler that allows you to chain jobs/tasks and create time dependencies. Uses text config files to specify task dependencies.
----
Tie-Quicksort-Lazy-0.04
http://search.cpan.org/~davidnico/Tie-Quicksort-Lazy-0.04/
a lazy quicksort with tiearray interface
----
WWW-Curl-Simple-0.04
http://search.cpan.org/~andremar/WWW-Curl-Simple-0.04/
A simpler interface to WWW::Curl
----
WWW-TamperData-0.02
http://search.cpan.org/~marcussen/WWW-TamperData-0.02/
Replay tamper data xml files!
----
XML-Atom-SimpleFeed-0.83
http://search.cpan.org/~aristotle/XML-Atom-SimpleFeed-0.83/
No-fuss generation of Atom syndication feeds
----
aliased-factory-v0.0.1
http://search.cpan.org/~ewilhelm/aliased-factory-v0.0.1/
shorter versions of a class tree's constructors
----
jmx4perl-0.15_1
http://search.cpan.org/~roland/jmx4perl-0.15_1/
JMX acccess modules and tools
----
jmx4perl-0.15_2
http://search.cpan.org/~roland/jmx4perl-0.15_2/
JMX acccess modules and tools
----
libintl-perl-1.17
http://search.cpan.org/~guido/libintl-perl-1.17/
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, 25 May 2009 23:37:50 -0700 (PDT)
From: JC <jim.x.kc@gmail.com>
Subject: Problems installing Jifty. Test::WWW::Selenium fails b/c Test::Mock::LWP? Not sure...
Message-Id: <0cdfce56-e5cb-43a5-a79b-23dac2f94be4@r34g2000vbi.googlegroups.com>
While installing Jifty via cpanplus it "threw me in" the "old cpan" to
install the 'Test::Mock::LWP' module, which was required for the
Test::WWW::Selenium module to be installed. After just "going with the
flow" and switching over into the cpan the installed failed. I am not
sure why and was wondering if anyone else has had this problem. My
version of Perl is 5.10. I am not sure what other information I should
give besides I usually always use the default choice when asked a
question vai cpanplus/cpan. Thanks in advance.
# Below is the tail end of the cpanplus .log file:
# Here I was still in cpanplus:
Module 'Jifty' requires 'Test::WWW::Selenium' to be installed
If you don't wish to see this question anymore
you can disable it by entering the following commands on the prompt:
's conf prereqs 1; s save'
Should I install this module? [Y/n]:
Running [/usr/bin/perl /usr/bin/cpanp-run-perl /home/signals/.cpanplus/
5.10.0/build/Test-WWW-Selenium-1.17/Makefile.PL ]...
*** Module::AutoInstall version 1.02
*** Checking for Perl dependencies...
[Core Features]
- Test::More ...loaded. (0.86 >= 0.42)
- Test::Exception ...loaded. (0.27)
- Test::Mock::LWP ...missing.
- Test::Pod ...loaded. (1.26)
- LWP::UserAgent ...loaded. (5.826)
- URI::Escape ...loaded. (3.29 >= 1.31)
==> Auto-install the 1 mandatory module(s) from CPAN? [y]
Sorry, we have to rerun the configuration dialog for CPAN.pm due to
some missing parameters...
# 'Test::Mock::LWP ...missing' is when I was "thrown" into cpan
The following questions are intended to help you with the
configuration. The CPAN module needs a directory of its own to cache
important index files and maybe keep a temporary mirror of CPAN files.
This may be a site-wide or a personal directory......etc.....
.....etc......
Test Summary Report
-------------------
t/TestApp-RestartServer/t/restart.t (Wstat: 512
Tests: 8 Failed: 2)
Failed tests: 6-7
Non-zero exit status: 2
Files=110, Tests=1818, 258 wallclock secs ( 0.87 usr 0.20 sys +
186.44 cusr 20.43 csys = 207.94 CPU)
Result: FAIL
Failed 1/110 test programs. 2/1818 subtests failed.
make: *** [test_dynamic] Error 255
[HISTORY] [Tue May 26 00:50:31 2009] Proceed anyway? [y/N]: n
[ERROR] [Tue May 26 00:50:31 2009] Unable to create a new distribution
object for 'Jifty' -- cannot continue.
------------------------------
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 2443
***************************************