On Wed, Dec 12, 2012 at 09:45:25PM +, DAVID HODGKINSON wrote:
Would hurling a PBP test at the whole of CPAN to get a metric be of any
benefit?
That would violate the spirit of the PBP, which clearly states that
its rules shall not be taken as gospel, but as starting points to
make up
On Sat, Dec 15, 2012 at 12:23:29AM +, David Cantrell wrote:
On Wed, Dec 12, 2012 at 05:23:23PM +, Edmund von der Burg wrote:
Each language has its own idioms and ways to do things. In shell
scripting the while true ... done loop is one of them.
In Perl the equivalent would be
On 15 Dec 2012, at 08:40, Abigail abig...@abigail.be wrote:
On Wed, Dec 12, 2012 at 09:45:25PM +, DAVID HODGKINSON wrote:
Would hurling a PBP test at the whole of CPAN to get a metric be of any
benefit?
That would violate the spirit of the PBP, which clearly states that
its
It should be fake, is impossible someone be so idiot.
On 12 December 2012 05:29, Uri Guttman u...@stemsystems.com wrote:
i can't say much about this but you have to look at the code here.
https://metacpan.org/author/PERLOOK/
in particular the boolean stuff is amazing and the print stuff
sorry I realize this is not a joke and this is a newbie code.
I truly believe we should support newbie people, sorry again.
(I read just the first email)
On 15 December 2012 15:01, Daniel de Oliveira Mantovani
daniel.oliveira.mantov...@gmail.com wrote:
It should be fake, is impossible someone be
On Wed, Dec 12, 2012 at 05:23:23PM +, Edmund von der Burg wrote:
Each language has its own idioms and ways to do things. In shell
scripting the while true ... done loop is one of them.
In Perl the equivalent would be while (1) { }
Although true is 0 in the shell ...
$ true;echo $?
On Wed, Dec 12, 2012 at 09:45:25PM +, DAVID HODGKINSON wrote:
Would hurling a PBP test at the whole of CPAN to get a metric be of any
benefit?
It would certainly be interesting.
--
David Cantrell | even more awesome than a panda-fur coat
NANOG makes me want to unplug everything and
On Fri, Dec 14, 2012 at 4:23 PM, David Cantrell da...@cantrell.org.uk wrote:
$ true echo it was true
This makes sense. Think of true as thing that succeeded rather
than OMG it's 0 so must be false!!1!
Ruby treats everything as true unless it's nil or false (so yes, 0 and
'' are true). Bit
Ug, what I get for sending a mail while still browsing it :P
-Mallory
On Wed, 2012-12-12 at 17:45 +, Gareth Harper wrote:
Without commenting on the function of the modules (I personally
wouldn't use them, but I can see what you're trying to accomplish).
Style/function/speed wise there certainly are a few areas which you
may want to address. I'll explain
On 12 December 2012 21:45, DAVID HODGKINSON daveh...@gmail.com wrote:
Do we still have automated kwalitee on CPAN?
There is CPANTS (http://cpants.charsbar.org/index.html) which checks Kwalitee
Would hurling a PBP test at the whole of CPAN to get a metric be of any
benefit?
As already
: London.pm Perl M\[ou\]ngers
Subject: cpan you have to see
Sent: 12 Dec 2012 07:29
i can't say much about this but you have to look at the code here.
https://metacpan.org/author/PERLOOK/
in particular the boolean stuff is amazing and the print stuff isn't far
behind.
uri
--
From: Uri Guttman
Sender: london.pm-boun...@london.pm.org
To: london.pm@london.pm.org
ReplyTo: London.pm Perl M\[ou\]ngers
Subject: cpan you have to see
Sent: 12 Dec 2012 07:29
i can't say much about this but you have to look at the code here.
https://metacpan.org/author/PERLOOK
Wow, I have learned so much from reading that code!
(nothing about Perl however).
On 12 December 2012 07:29, Uri Guttman u...@stemsystems.com wrote:
i can't say much about this but you have to look at the code here.
On Wed, Dec 12, 2012 at 8:54 AM, Anthony Lucas anthonyjlu...@gmail.comwrote:
Flexible::Output::Printer
To be honest, it's not too different in intent from several other CPAN
modules - aliasing features to be more like other languages...
I am pretty curious about the return values, though:
I wouldn't really say mean…
The examples themselves trigger the module's own ridiculous failure conditions.
I have a hard time believing these aren't joke modules.
The interesting conversation here is about CPAN moderation and where people
stand on it.
I know it tends to be extremely liberal,
no,
this
http://perl.plover.com/IAQ/IAQlist.html#how_can_i_find_the_creation_date_of_a_file
is mean.
:-)
-- vish
On 12 December 2012 09:35, Anthony Lucas anthonyjlu...@gmail.com wrote:
I wouldn't really say mean…
The examples themselves trigger the module's own ridiculous failure
That is plain immature.
On Wed, Dec 12, 2012 at 9:57 AM, Avishalom Shalit avisha...@gmail.comwrote:
no,
this
http://perl.plover.com/IAQ/IAQlist.html#how_can_i_find_the_creation_date_of_a_file
is mean.
:-)
-- vish
On 12 December 2012 09:35, Anthony Lucas anthonyjlu...@gmail.com
well, it is a page full of jokes.
read it in context.
some of them are actually funny, (in an Asperger's humor sort of funny. )
let me kill the frog*
How do I sort an array in reverse?
@sorted = sort reverse @array;
I really like how the perl mirrors the english, this is exactly
sorting
* Avishalom Shalit (avisha...@gmail.com) [121212 10:02]:
this
http://perl.plover.com/IAQ/IAQlist.html#how_can_i_find_the_creation_date_of_a_file
is mean.
:-)
hah funny! In so many ways broken and so dangerous!
I think the problem of the document is that is survives on internet,
while it
Perl M\[ou\]ngers
Subject: cpan you have to see
Sent: 12 Dec 2012 07:29
i can't say much about this but you have to look at the code here.
https://metacpan.org/author/PERLOOK/
in particular the boolean stuff is amazing and the print stuff isn't far
behind.
uri
* Avishalom Shalit (avisha...@gmail.com) [121212 11:01]:
How do I sort an array in reverse?
@sorted = sort reverse @array;
I do understand the jokes, because I have sufficient knowledge of Perl.
Horrible things get used.
Now guess: is the following a joke or in production code?
On 12 Dec 2012, at 12:12, Leon Brocard a...@astray.com wrote:
On Wed, Dec 12, 2012 at 02:29:24AM -0500, Uri Guttman wrote:
i can't say much about this but you have to look at the code here.
https://metacpan.org/author/PERLOOK/
I congratulate Alexej on joining the CPAN authors club.
On 12 December 2012 12:19, Pedro Figueiredo m...@pedrofigueiredo.org wrote:
On 12 Dec 2012, at 12:12, Leon Brocard a...@astray.com wrote:
On Wed, Dec 12, 2012 at 02:29:24AM -0500, Uri Guttman wrote:
i can't say much about this but you have to look at the code here.
On 12 Dec 2012, at 12:12, Leon Brocard a...@astray.com wrote:
I congratulate Alexej on joining the CPAN authors club. Instead of making fun
of him on a mailing list why not engage with him and help him improve?
No one is really making fun of him. I just don't see the point in
pretending not
I'm sure Uri's point was meant in jovial (xmas?) spirit, and who's to say it's
not a joke, and how serious do we take all of this, in any case ?-)
On the topic of a CPAN filter: Quis custodiet ipsos custodes?
And, finally, that's a good suggestion, Anthony. I've Cc'd him, (perlook),
here,
On Wed, Dec 12, 2012 at 9:17 AM, Joel Bernstein j...@fysh.org wrote:
I'm more concerned about who keeps the monkeys in their cages from
flinging their faeces around.
Custodiendam simia cacas!
--
Best Regards,
[Joseph] Christian Werner Sr
C 360.920.7183
H 757.304.0502
Txt 757.304.0502
On 12/12/2012 07:12 AM, Leon Brocard wrote:
On Wed, Dec 12, 2012 at 02:29:24AM -0500, Uri Guttman wrote:
i can't say much about this but you have to look at the code here.
https://metacpan.org/author/PERLOOK/
I congratulate Alexej on joining the CPAN authors club. Instead of making fun
of
On 12 Dec 2012, at 15:57, Uri Guttman u...@stemsystems.com wrote:
On 12/12/2012 07:12 AM, Leon Brocard wrote:
he still thinks his code is doing something useful
It is. I had to write something similar to his Boolean module when I inherited
a fucked up database that had different standards for
Okay, allow me to clarify what the TrueFalse module that I wrote is trying
to emulate. It's trying to emulate the 'true' and 'false' user commands
available under Linux.
Haven't you ever done something like this in Unix Shell?
while true; do ls /var/log/; sleep 5s; clear; done
The statment
As for my rt replies, what did you expect I was gonna say: 'Oh, my bad I
wrote the worst module in the world and you're the king of all; here let me
just remove it real quick.'? Think again.
*When I call `true()` I get `undef` back (or empty list in list context).
It should return `i should stop
On 12 December 2012 17:05, Alexej Magura perl...@cpan.org wrote:
Okay, allow me to clarify what the TrueFalse module that I wrote is trying
to emulate. It's trying to emulate the 'true' and 'false' user commands
available under Linux.
Haven't you ever done something like this in Unix Shell?
Alexej
I was going to ask just one question 'why?', but then I thought back to my
dim and distant past and I remembered doing something very similar.
I was learning programming language 'B' after being fairly proficient (as I
thought at the time) in language 'A'.
I started writing macros and
-To: London.pm Perl M\[ou\]ngers london.pm@london.pm.org
Subject: Re: cpan you have to see
As for my rt replies, what did you expect I was gonna say: 'Oh, my bad I
wrote the worst module in the world and you're the king of all; here let me
just remove it real quick.'? Think again.
*When I call `true
I disagree - using $TRUE is fine! Perl was my first language and it makes
perfect sense to me.
More importantly: it seems the Perl community has lost it's warmth and
communal, welcoming, nature - maybe since it's a falling empire, people
have gotten rude and boorish? I don't know, but I am
On Wednesday, 12 December 2012 at 12:21, Alexej Magura wrote:
Since I joined Cpan, I've only received one bug ticket that was actually
helpful, and I've received four total, to my knowledge.
Alexj, I am sorry to hear that. I just wanted to say, on behalf of the often
silent majority, we
On 12 December 2012 17:05, Alexej Magura perl...@cpan.org wrote:
Okay, allow me to clarify what the TrueFalse module that I wrote is trying
to emulate. It's trying to emulate the 'true' and 'false' user commands
available under Linux.
Haven't you ever done something like this in Unix Shell?
On 12 December 2012 17:57, Joseph Werner telco...@gmail.com wrote:
On Wed, Dec 12, 2012 at 12:45 PM, Gareth Harper spansh+lon...@gmail.com
wrote:
PBP and I disagree with you on this one, Gareth. When a sub does a
return 0; to a list context, that is interpreted as true. A bare
return; is
On 12 December 2012 15:57, Uri Guttman u...@stemsystems.com wrote:
On 12/12/2012 07:12 AM, Leon Brocard wrote:
On Wed, Dec 12, 2012 at 02:29:24AM -0500, Uri Guttman wrote:
i can't say much about this but you have to look at the code here.
https://metacpan.org/author/PERLOOK/
I
On Wed, Dec 12, 2012 at 9:23 AM, Edmund von der Burg
e...@ecclestoad.co.uk wrote:
Each language has its own idioms and ways to do things. In shell
scripting the while true ... done loop is one of them.
In Perl the equivalent would be while (1) { }
Actually, it's: while () { ... }
But
On Wed, Dec 12, 2012 at 10:57:39AM -0500, Uri Guttman wrote:
On 12/12/2012 07:12 AM, Leon Brocard wrote:
On Wed, Dec 12, 2012 at 02:29:24AM -0500, Uri Guttman wrote:
i can't say much about this but you have to look at the code here.
https://metacpan.org/author/PERLOOK/
I congratulate Alexej
On Wed, Dec 12, 2012 at 6:14 PM, Gareth Harper spansh+lon...@gmail.comwrote:
On 12 December 2012 17:57, Joseph Werner telco...@gmail.com wrote:
On Wed, Dec 12, 2012 at 12:45 PM, Gareth Harper spansh+lon...@gmail.com
wrote:
PBP and I disagree with you on this one, Gareth. When a sub does a
Hi Alex,
I'm sorry that you've had a bad initial experience of CPAN and now of
this mailing list.
On 12 December 2012 17:21, Alexej Magura perl...@cpan.org wrote:
As for my rt replies, what did you expect I was gonna say: 'Oh, my bad I
wrote the worst module in the world and you're the king of
It seems this guy is sticking up for himself following the regular LPM
taunts. Shouldn't most of you now follow up with more nastiness, some
insults in ASCII art, then when he gives anything back kick him from the
list? As far as I've experienced, this is how you do things.
After all, only
On Wed, Dec 12, 2012 at 08:02:28PM +, Lyle wrote:
It seems this guy is sticking up for himself following the regular LPM
taunts. Shouldn't most of you now follow up with more nastiness, some
insults in ASCII art, then when he gives anything back kick him from the
list? As far as I've
On 12/12/2012 11:46 AM, James Laver wrote:
On 12 Dec 2012, at 15:57, Uri Guttman u...@stemsystems.com wrote:
On 12/12/2012 07:12 AM, Leon Brocard wrote:
he still thinks his code is doing something useful
It is. I had to write something similar to his Boolean module when I
inherited a fucked
On 12/12/2012 12:57 PM, Joseph Werner wrote:
On Wed, Dec 12, 2012 at 12:45 PM, Gareth Harper spansh+lon...@gmail.com wrote:
PBP and I disagree with you on this one, Gareth. When a sub does a
return 0; to a list context, that is interpreted as true. A bare
return; is best practice.
and i
On Wed, Dec 12, 2012 at 04:05:58PM -0500, Uri Guttman wrote:
On 12/12/2012 11:46 AM, James Laver wrote:
Just because you get to work with all of the nice clean code in the
world doesn't mean some people aren't stuck with the mistakes of
others. Then again, my primary income stream is
Peter Sergeant p...@clueball.com wrote:
the idea that you should always use a
bare *return()* is far from universally accepted - you can bite yourself
just as easily in reverse by using bare return, and getting an empty list
where you expected a false or undefined value:
I agree. The talk I
On Wed, Dec 12, 2012 at 04:17:28PM -0500, Uri Guttman wrote:
On 12/12/2012 12:57 PM, Joseph Werner wrote:
On Wed, Dec 12, 2012 at 12:45 PM, Gareth Harper spansh+lon...@gmail.com
wrote:
PBP and I disagree with you on this one, Gareth. When a sub does a
return 0; to a list context, that is
On Wed, Dec 12, 2012 at 9:17 PM, Uri Guttman u...@stemsystems.com wrote:
then the caller can't ever use the sub in a list context expecting an
empty list
... so?
True or false are reasonable things to expect a subroutine to return. A
list is a reasonable thing to expect a subroutine to
On 12 Dec 2012, at 21:17, Uri Guttman u...@stemsystems.com wrote:
On 12/12/2012 12:57 PM, Joseph Werner wrote:
On Wed, Dec 12, 2012 at 12:45 PM, Gareth Harper spansh+lon...@gmail.com
wrote:
PBP and I disagree with you on this one, Gareth. When a sub does a
return 0; to a list context,
On Wed, Dec 12, 2012 at 9:31 PM, Aaron Crane p...@aaroncrane.co.uk wrote:
I agree. The talk I did at LPW and YAPC::EU this year covers this and
some related issues
Thanks Aaron. Someone told me about your talk, and it got me thinking about
it in-depth a little while ago. Shame I missed it
On 12 Dec 2012, at 18:35, Abigail abig...@abigail.be wrote:
On Wed, Dec 12, 2012 at 10:57:39AM -0500, Uri Guttman wrote:
On 12/12/2012 07:12 AM, Leon Brocard wrote:
On Wed, Dec 12, 2012 at 02:29:24AM -0500, Uri Guttman wrote:
i can't say much about this but you have to look at the code here.
* Abigail (abig...@abigail.be) [121212 21:38]:
The flip side of this dogma is, you end up with code like:
sub foo {
...
return unless $result;
return $result;
}
sub foo {
...
$result || (); # $result // ();
}
On Wednesday, December 12, 2012, DAVID HODGKINSON wrote:
Would hurling a PBP test at the whole of CPAN to get a metric be of any
benefit?
Probably not. perl critic, which sounds like what you're thinking about, is
a useful tool for catching silly mistakes you might have made, but if you
know
On 12/12/2012 21:42, Peter Sergeant wrote:
On Wed, Dec 12, 2012 at 9:31 PM, Aaron Crane p...@aaroncrane.co.uk wrote:
I agree. The talk I did at LPW and YAPC::EU this year covers this and
some related issues
Thanks Aaron. Someone told me about your talk, and it got me thinking about
it
i can't say much about this but you have to look at the code here.
https://metacpan.org/author/PERLOOK/
in particular the boolean stuff is amazing and the print stuff isn't far
behind.
uri
58 matches
Mail list logo