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 ]

jplindstrom (594)

jplindstrom
  (email not shown publicly)
+ -

  Comment: Re:Perl::Critic::Dynamic::Moose is in git (Score 1) on 2009.10.18 16:22

Here's one way in Emacs.

Read More 20 comments
Comments: 20
+ -

  Comment: Re:Running a single test in Test::Class (Score 1) on 2009.08.21 16:36

by jplindstrom on 2009.08.21 16:36 (#70213)
Attached to: A Test::Class idiom

That's ace!

In Emacs it can actually be one level neater; since the tests are run from within Emacs itself it's easy to simply set the env var before kicking off the test run. No need to edit the source file.

Read More 4 comments
Comments: 4
+ -

  Journal: A Test::Class idiom on 2009.08.21 9:26

Journal by jplindstrom on 2009.08.21 9:26
User Journal
Test::Class is very nice, but I realize I've started to use it in a peculiar way that I think is an indication of a missing feature.

Let's say there's a class with quite a few different tests and I'm currently TDD-ing this single method.

sub ion_favourites : Test(no_plan) {
    # ...
}

Read More 4 comments
Comments: 4
+ -

  Comment: Re:Help work on Perl 5 editor support? (Score 1) on 2009.07.28 7:42

by jplindstrom on 2009.07.28 7:42 (#69718)
Attached to: A Commitment to Perl

What is the plan (if any) wrt machine readable Perl6?

Would syntax highlighting be done with regexes and duct tape, or are there some kind of introspection available/planned for IDEs?

I can only remember reading a few years ago that there was an idea to let Perl parse source and emit structural information suitable for syntax highlighting, navigation and so on, but I haven't heard anything in this area since.

Read More 6 comments
Comments: 6
+ -

  Comment: Office (Score 1) on 2009.07.20 7:33

Is the Office suite installed?

(This is just out of curiosity, I probably wouldn't do any Win32::Word::Writer development regardless)

Read More 5 comments
Comments: 5
+ -

  Comment: Me too! (Score 1) on 2009.06.09 17:21

by jplindstrom on 2009.06.09 17:21 (#69028)
Attached to: Another perltidy lazyweb request

Let me just second that.

I don't think that's configurable since it's a bit of a special case to only want to indent one of the structures.

Unfortunately Perl::Tidy doesn't seem to have any tests to speak of, so it's a bit of an effort to start hacking on it to add missing bits.

Read More 1 comments
Comments: 1
+ -

  Comment: Re:Padre? (Score 1) on 2009.06.04 8:01

by jplindstrom on 2009.06.04 8:01 (#68947)
Attached to: Early Komodo Edit review

There is an old strawberry installer linked from the the wiki. Is there a more recent one that installs it an all deps easily? (esp the GTK things are a bit tricky IIRC)

Read More 6 comments
Comments: 6
+ -

  Comment: Blast from the past (Score 1) on 2009.06.04 7:57

by jplindstrom on 2009.06.04 7:57 (#68946)
Attached to: flash from the past

For being from -95, that's not too bad.

Just using the then-not-yet-a-pattern of listing all sections (well, pages in this case) and highlighting the current makes it stand out somewhat.

Read More 1 comments
Comments: 1
+ -

  Comment: Why UNIVERSAL? (Score 1) on 2009.05.21 7:27

by jplindstrom on 2009.05.21 7:27 (#68718)
Attached to: The Moose Class Hierarchy

Why include UNIVERSAL in the diagram?

Its presence doesn't clarify anything. The only thing it does is make the graph more difficult to read.

Read More 3 comments
Comments: 3
+ -

  Comment: Re:I'd feel sad... (Score 1) on 2009.05.16 13:36

by jplindstrom on 2009.05.16 13:36 (#68598)
Attached to: Refactoring Tests

What if you suddenly wake up an realize you have a large volume of duplicated test code (which may be the case, I have no idea)? Wouldn't you want to schedule time to make a serious difference?

I think the presence of a card is a very un-sad thing for various reasons (they identified the problem, took action, got on scheduled time for it).

Read More 5 comments
Comments: 5
+ -

  Comment: Same, same (Score 1) on 2009.05.14 7:00

by jplindstrom on 2009.05.14 7:00 (#68570)
Attached to: More porn isn't the answer

So it seems the Ruby community is following along in the same footsteps as Perl, just a few years later. From experiencing the perils of AUTOLOAD and monkey patching to doing stupid things like porn references at conferences.

Well, from what I've seen they'll never catch up on the last one.

Read More 14 comments
Comments: 14
+ -

  Comment: Re:so ... (Score 1) on 2009.05.02 10:56

That is quite enterprisey.

Read More 4 comments
Comments: 4
+ -

  Comment: Re:Not quite (Score 1) on 2009.02.28 10:55

by jplindstrom on 2009.02.28 10:55 (#67656)
Attached to: Why Visualization Rocks

I'm saying the bug had nothing to do with MI.

My reply was referring to the last paragraph about the bug, not the whole post. Reading the reply again, I can see that wasn't clear.

Read More 3 comments
Comments: 3
+ -

  Comment: Not quite (Score 1) on 2009.02.27 9:46

by jplindstrom on 2009.02.27 9:46 (#67644)
Attached to: Why Visualization Rocks

This had nothing to do with multiple inheritance. At all.

The problem was it wasn't a pure refactoring. It added functionality to a class (which was appropriate), and the setup code for the failing test wasn't amended to reflect this.

Read More 3 comments
Comments: 3
+ -

  Comment: Names! (Score 1) on 2009.02.22 11:10

by jplindstrom on 2009.02.22 11:10 (#67534)
Attached to: My First Useful Perl 6 Script!

$x, $y, $z?

Really?

Read More 2 comments
Comments: 2