Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

kentnl (9342)

kentnl
  (email not shown publicly)
Jabber: thejackal@jabber.org
+ -

  Comment: Re:done_testing( $arg )? (Score 1) on 2009.11.19 4:43

by kentnl on 2009.11.19 4:43 (#71173)
Attached to: The unfortunate demise of the plan
/me-- # tiny bloody text box ==> me splits a word causing bad grammars.
Read More 25 comments
Comments: 25
+ -

  Comment: done_testing( $arg )? (Score 1) on 2009.11.19 4:42

by kentnl on 2009.11.19 4:42 (#71172)
Attached to: The unfortunate demise of the plan

I like to use the argument done_testing accepts that lets you say how many tests you expected to have run at that stage.

Its like specifying a plan, except you can do so pro grammatically after the fact, which eliminates the need for tedious manual counting.

All you need to know is how many tests occur within a given block of code and increment your counter respectively.

use Test::More;

my $t;

$t+=2;
foreach ( list() ) {
  ok( $_, 'List member ok' );
}

$t+=3; # list called the second time emits more items.
foreach ( list() ) {
  ok( $_, 'List member ok' );
}

done_testing( $t ); # $t is 5

There's surely a better way to get the same effect.

Read More 25 comments
Comments: 25
+ -

  Journal: Why you need a designer to do it on 2009.08.31 16:48

Journal by kentnl on 2009.08.31 16:48
User Journal
http://imgur.com/QZ96G.png # Because we can't embed images of our own shocking design skills

I was kinda going for the butterfly taking fight w/ minimalisim, kinda to invoke the whole "late stage development", "maturing past pupa", "taking flight", "new, and yet somewhat mature at the same time" ideas.

But its still pretty suck.

Read More 8 comments
Comments: 8
+ -

  Journal: Dist::Zilla now available on Gentoo Overlay on 2009.08.28 14:35

Journal by kentnl on 2009.08.28 14:35
User Journal

I won't be notifying of every new package added to the overlay, just the ones that are significant to me and have substantial stacks of depends.

As of yesterday, Dist::Zilla [1] is available on the Gentoo Perl Overlay [2]

Hopefully this encourages the use of the awesome module.

( I've been doing this on my own branch for a few months, and only integrated it yesterday, which is why you'll see lots of back-history arriving overnight )

Read More 0 comments

+ -

  Journal: Perl 5.10.1 and Task::Kensho now available on gentoo. on 2009.08.26 10:14

Journal by kentnl on 2009.08.26 10:14
User Journal

I've been meaning to state this sooner, but things get away on you and you
procrastinate.

As of this week, Task::Kensho and all its dependents are available on the
gentoo perl overlay [1][2], free for your installation.

Noted some of the dependents are still Masked, and if you want them, you'll
have to unmask them yourself, But its available, and its being used, and thats
what matters.

Read More 0 comments