Re: CPAN Testers, and {build,test}_requires.

2010-05-12 Thread James E Keenan
Daniel Pittman wrote: G'day. Oh, and finally, if anyone has any comments on the module — for all that it is really about as trivial as a module can be and all — I would welcome them publicly or privately. Attempted to test version 1.1. I note in your Makefile.PL, you have: 'BUILD_REQU

Re: XML::Reader

2010-05-12 Thread Shlomi Fish
Hi Dana, On Tuesday 11 May 2010 17:14:51 Dana Hudes wrote: > Klaus, > Thanks for contributing to CPAN > > On the question of callbacks: This is Perl, there's more than way to do it > (whatever 'it' is ). That said the use of callbacks is very Perlish. > Indeed Perl itself uses callbacks in it's b

Re: Usage of wantarray

2010-05-12 Thread Shlomi Fish
On Wednesday 12 May 2010 00:55:13 Lutz Gehlen wrote: > Hello everybody, > recently, I read the following statement in a CPAN Ratings entry: > "this package also uses wantarray (a transgression amongst interface > sensibilities)." > > I also sometimes use wantarray and don't see anything bad about

Re: Usage of wantarray

2010-05-12 Thread David Nicol
On Wed, May 12, 2010 at 7:08 AM, Shlomi Fish wrote: > On Wednesday 12 May 2010 00:55:13 Lutz Gehlen wrote: >> Hello everybody, >> recently, I read the following statement in a CPAN Ratings entry: >> "this package also uses wantarray (a transgression amongst interface >> sensibilities)." C is how

Re: Usage of wantarray

2010-05-12 Thread Hans Dieter Pearcey
On Wed, 12 May 2010 09:55:13 +1200, Lutz Gehlen wrote: > Hello everybody, > recently, I read the following statement in a CPAN Ratings entry: > "this package also uses wantarray (a transgression amongst interface > sensibilities)." > > I also sometimes use wantarray and don't see anything bad abo

Re: Usage of wantarray

2010-05-12 Thread Eric Wilhelm
# from Hans Dieter Pearcey # on Wednesday 12 May 2010 08:49: >...just because it's not how arrays work anywhere else in Perl, This is not about how arrays work, but how functions work. See localtime(), caller(), each(), glob(), readline(), etc. But then see sort() and split(). There are reaso

Re: Usage of wantarray

2010-05-12 Thread Lutz Gehlen
Hello everybody, thanks for all your comments. On Wed, May 12, 2010 at 11:49:09AM -0400, Hans Dieter Pearcey wrote: > relatively simple "return an array in list context, or an arrayref in scalar > context" often ends up irritating me more than it's worth (including when I > wrote the function that

Re: Usage of wantarray

2010-05-12 Thread Lutz Gehlen
On Wed, May 12, 2010 at 11:32:59AM -0700, Eric Wilhelm wrote: > That might be simple, but no builtins do this, which seems to say > something. If you're still working with lists, you expect them to > behave like lists, and not try to package themselves in a reference The following comment has

Re: returning lists vs references

2010-05-12 Thread Eric Wilhelm
# from Lutz Gehlen # on Wednesday 12 May 2010 14:19: >On Wed, May 12, 2010 at 11:32:59AM -0700, Eric Wilhelm wrote: >> That might be simple, but no builtins do this, which seems to say >> something.  If you're still working with lists, you expect them to >> behave like lists, and not try to packag

Re: Usage of wantarray

2010-05-12 Thread nadim khemir
> Hello everybody, > recently, I read the following statement in a CPAN Ratings entry: > "this package also uses wantarray (a transgression amongst interface > sensibilities)." Hi Lutz, I've read that too and my reaction was "what a totally ridiculous claim!". And it is based on ... nil or mayb