Graphing Perl Package Usage for Fun and Profit

2005-07-10 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin, Leon Brocard (hi! :) did some graphing of various Perl things back in 2001 or so. I thought I'd also do something alike[0]. It can be very hard to follow what ends up actually in memory when you "use Some::Package;" - especially because that depends on n

Re: Graphing Perl Package Usage for Fun and Profit

2005-07-10 Thread Randy W. Sims
Tels wrote: graph-perl-usage is a little script that uses various modules/programs to generate usage graphs of Perl package. That is, it tracks which package uses or requires which and puts that into a graph. Recursively, if you wish so. Neato, cool. How difficult would it be to add an option t

Self-testing kwalitee

2005-07-10 Thread Nik Clayton
Having been a little more prolific on the module front recently I'm interesting in making sure that my own modules pass the kwalitee tests. Preferably before I put them on CPAN. But poking through qa.perl.org I can't find anywhere that these tests are actually rigorously defined. The closes

Re: AnnoCPAN and a wiki POD idea

2005-07-10 Thread Adam Kennedy
PS. An AnnoCPAN tip: Notice that if you are an author, you can subscribe to all comments on your modules: http://www.annocpan.org/~MARKSTOS/recent.rss I don't _want_ to subscribe to my feed. RSS would be just another distration in my life. What I'd just like, every 3 months or so when I've go

Re: AnnoCPAN and a wiki POD idea

2005-07-10 Thread Adam Kennedy
Adrian Howard wrote: On 8 Jul 2005, at 20:08, Adam Kennedy wrote: [snip] There's no way to get a listing of the annotations for a given author id, or even for a given dist. So I'm reduced to manually looking through a thousand odd web pages to find potential changes or improvements to the

Re: Perl6 burns 18% fewer calories

2005-07-10 Thread Adam Kennedy
Michael Hendricks wrote: In other words, Huffman coding works and Perl6 hackers had better start watching their waistlines. Or maybe we should spin it that Perl6 helps reduce global warming ;) Anyway, I collected a small sample (~300 lines each) of Perl5 code along with "equivalent" Perl6 code.

Re: method calls on $self

2005-07-10 Thread Robin Redeker
On Sat, Jul 09, 2005 at 07:36:10AM -0700, Larry Wall wrote: > : > Why does it have to be some sugared syntax when you can just simple > : > name it in the parameter list? > : > : Yes, but there seem to be quite some people who want > : a 'cool' syntax for it. (ie. ./method ()). > > I wasn't thi

Re: DBI v2 - The Plan and How You Can Help

2005-07-10 Thread Jonathan Leffler
Oh drat - not the DBI connection string discussion again! On 7/4/05, Darren Duncan <[EMAIL PROTECTED]> wrote: > 5. All details used to construct a connection handle should be > completely decomposed rather than shoved into an ungainly "data > source". Examples of what should be distinct (not all

Re: DBI v2 - The Plan and How You Can Help

2005-07-10 Thread Adam Kennedy
In particular, the DBI must not mandate impossible levels of support from the drivers. It will benefit you nothing if the DBI is immaculate and wonderful and incredibly all-singing and all-dancing, but no-one can write a driver for it because the requirements cannot be met by the actual DBMS tha

Re: DBI v2 - The Plan and How You Can Help

2005-07-10 Thread Jeffrey W. Baker
On Sat, 2005-07-09 at 01:22 -0700, Jonathan Leffler wrote: > Oh drat - not the DBI connection string discussion again! > > On 7/4/05, Darren Duncan <[EMAIL PROTECTED]> wrote: > > > 5. All details used to construct a connection handle should be > > completely decomposed rather than shoved into an

Re: DBI v2 - The Plan and How You Can Help

2005-07-10 Thread Jonathan Leffler
On 7/9/05, Darren Duncan <[EMAIL PROTECTED]> wrote: > > At 1:22 AM -0700 7/9/05, Jonathan Leffler wrote: > >On 7/4/05, Darren Duncan <[EMAIL PROTECTED] > wrote: > >5. All details used to construct a connection handle should be > >completely decomposed rather than shoved into an ungainly "data > >s

Re: DBI v2 - The Plan and How You Can Help

2005-07-10 Thread Jochen Wiedmann
Jonathan Leffler wrote: I dunno which DBMS support prepare without a database connection, but I would expect all the mainstream databases to require a database connection. +1 I'm also far from convinced that there's any significant benefit in separating the 'create a database handle' from t

Backwards (?) kwalitee definition on qa.perl.org

2005-07-10 Thread Nik Clayton
http://qa.perl.org/phalanx/kwalitee.html says: What is kwalitee? Kwalitee is inexact quality. We don't know exactly what it is, but we know it when we see it. Isn't that backwards? I thought 'kwalitee' was supposed to be a metric that was exact, and that (hopefully) had some corr

Re: AnnoCPAN and a wiki POD idea

2005-07-10 Thread Adam Kennedy
Adrian Howard wrote: On 8 Jul 2005, at 20:08, Adam Kennedy wrote: [snip] There's no way to get a listing of the annotations for a given author id, or even for a given dist. So I'm reduced to manually looking through a thousand odd web pages to find potential changes or improvements to the

Re: AnnoCPAN and a wiki POD idea

2005-07-10 Thread Smylers
Adam Kennedy writes: > Adrian Howard wrote: > > > > http://www.annocpan.org/~ADAMK/ > Nope... > > PPI (1 notes; latest 2005-07-04 ) Yup. > Click on PPI... > > List of 9 versions of PPI, no information on the notes. Given that one of the advertised features of AnnoCpan is how it automatic

Re: DBI v2 - The Plan and How You Can Help

2005-07-10 Thread Juerd
Jeffrey W. Baker skribis 2005-07-09 11:27 (-0700): > > Oh drat - not the DBI connection string discussion again! > There are certainly database-specific things to be worked around. An > improvement to the current DSN scheme would be a URI, as discussed in > the past. The leading dbi: on every DSN

Re: Self-testing kwalitee

2005-07-10 Thread chromatic
On Sat, 2005-07-09 at 12:53 +0100, Nik Clayton wrote: > Having been a little more prolific on the module front recently I'm > interesting in making sure that my own modules pass the kwalitee tests. > Preferably before I put them on CPAN. > > But poking through qa.perl.org I can't find anywher

Re: method calls on $self

2005-07-10 Thread Carl Mäsak
On 7/9/05, Robin Redeker <[EMAIL PROTECTED]> wrote: > On Sat, Jul 09, 2005 at 07:36:10AM -0700, Larry Wall wrote: > > : > Why does it have to be some sugared syntax when you can just simple > > : > name it in the parameter list? > > : > > : Yes, but there seem to be quite some people who want > > :

Re: Graphing Perl Package Usage for Fun and Profit

2005-07-10 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin Randy, On Sunday 10 July 2005 15:08, Randy W. Sims wrote: > Tels wrote: > > graph-perl-usage is a little script that uses various > > modules/programs to generate usage graphs of Perl package. That is, > > it tracks which package uses or requires which and

parrots getting smarter

2005-07-10 Thread Leopold Toetsch
even on /. http://science.slashdot.org/science/05/07/10/1942204.shtml?tid=14 SCNR, leo

Re: prove with Devel::Cover example?

2005-07-10 Thread Mark Stosberg
On Sat, Jun 04, 2005 at 02:10:37AM -0700, Michael G Schwern wrote: > On Fri, Jun 03, 2005 at 02:04:50PM -0500, Pete Krawczyk wrote: > > }How can I use 'prove' and Devel::Cover together? I tried: > > > > HARNESS_PERL_SWITCHES=-MDevel::Cover prove file.t > > Kinda surprised there's not a --cover s

Re: DBI v2 - The Plan and How You Can Help

2005-07-10 Thread Darren Duncan
At 10:25 PM +1000 7/9/05, Adam Kennedy wrote: In any case, I still propose that DBI2 split the driver interface into Roles. The main "DBI2::Role::Transport" role does ONLY what DBI does best now. That is, connecting to the database, preparing and sending queries, and fetching the results. For

Re: DBI v2 - The Details - :name for placeholders

2005-07-10 Thread Darren Duncan
At 9:27 PM -0700 7/10/05, Jonathan Leffler wrote: This is not what DBI deals with - it deals more nearly with the CLI syntax, where that is not, as far as I know, permitted. My impression of DBI is that it is a stand-in of sorts for a SQL CLI, and does or should do all of the same sorts of thi

Re: DBI v2 - The Plan and How You Can Help

2005-07-10 Thread Darren Duncan
I have an additional reply to the following ... At 10:25 PM +1000 7/9/05, Adam Kennedy wrote: In any case, I still propose that DBI2 split the driver interface into Roles. The main "DBI2::Role::Transport" role does ONLY what DBI does best now. That is, connecting to the database, preparing and