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 ]

schwern (1528)

schwern
  (email not shown publicly)
http://schwern.net/
AOL IM: MichaelSchwern (Add Buddy, Send Message)
Jabber: schwern@gmail.com

Schwern can destroy CPAN at his whim.
+ -

  Journal: Finally, some Test::Builder2 examples! on 2010.09.09 3:33

Journal by schwern on 2010.09.09 3:33
User Journal

For my PDX.pm presentation tonight on Test::Builder2 I threw together some quick examples of some of its killer features, in particular demonstrating changing how Test::Builder2 behaves using method modifiers and applying object roles.

Read More 0 comments

+ -

  Journal: Test::Builder2 at 10k Feet on 2010.09.09 3:15

Journal by schwern on 2010.09.09 3:15
User Journal

Here's a diagram of the "flow" of assert results through Test::Builder version 1.

Read More 0 comments

+ -

  Journal: A month of Test::Builder2 on 2010.08.27 23:08

Journal by schwern on 2010.08.27 23:08
User Journal

I've had a grant open for Test::Builder2 for, oh god over two years now. Since I started it, Perl 6 has had a release! I think its the second oldest running dev grant.

Read More 0 comments

+ -

  Journal: Alien::SVN - new release, new management on 2010.08.18 17:33

Journal by schwern on 2010.08.18 17:33
User Journal

Those of you still stuck using Subversion will be happy to find a new release of Alien::SVN. It drags it forward to 1.6.12, doesn't do much else.

Read More 0 comments

+ -

  Journal: Test::Builder2::Design on 2010.08.09 21:31

Journal by schwern on 2010.08.09 21:31
User Journal

In an effort to shed some light on what Test::Builder2 is about, I took a few hours and performed a brain dump about its goals and design. You can see the result in the new Test::Builder2::Design document.

The key design goals are 1) that it has to work, 2) that it has to work everywhere and 3) that it has to test everything. This throws out a lot of 98% solutions.

Read More 3 comments
Comments: 3
+ -

  Journal: Method::Signatures returns! 5.12, func() and fast! on 2010.07.30 19:49

Journal by schwern on 2010.07.30 19:49
User Journal

Chip submitted a minor performance patch to Method::Signatures today. That drove me to push out a new release making it friendly to 5.12 and adding func() for non methods!

        func hello(:$greeting = "Hello", :$place = "World") {
                print "$greeting, $place!\n";
        }

Read More 0 comments

+ -

  Comment: Re:You should see this one... (Score 1) on 2010.07.29 19:28

Oh wow, that's awesome! I thought it was going to be a lame knock off.

Read More 2 comments
Comments: 2
+ -

  Journal: Perl 6 Is The Language Your Language Could Smell Like on 2010.07.29 14:24

Journal by schwern on 2010.07.29 14:24
User Journal

Hello programmers. Look at your code, now at Perl 6, now back at your code, now back at Perl 6! Sadly, your code is not written in Perl 6. But if you use Rakudo Star then Perl 6 is the language your code could be written in!

Now Microsoft scented!

Read More 2 comments
Comments: 2
+ -

  Journal: "def" or "func"? on 2010.07.12 19:06

Journal by schwern on 2010.07.12 19:06
User Journal

perl5i 2.3.0_01 now has basic methods and subroutine signatures with code basically lifted straight from Method::Signatures::Simple. MooseX::Declare got me addicted, now I want them everywhere.

Read More 0 comments

+ -

  Comment: Re:TPF (Score 1) on 2010.06.27 14:18

by schwern on 2010.06.27 14:18 (#72128)
Attached to: The Post-YAPC Plan

Ah ha! Wrong Wil. I blame lack of sleep.

Status update is on the next post.

Read More 3 comments
Comments: 3
+ -

  Journal: Where The Hell Is Test::Builder2? on 2010.06.27 14:16

Journal by schwern on 2010.06.27 14:16
User Journal

My progress and communication about the Test::Builder2 grant has been nothing short of appalling. There is a sort of herky-jerky progress where I figure out a design problem, push the code forward, then remember a use-case that throws a wrench in the whole design and the whole thing comes to a screeching halt again.

Read More 0 comments

+ -

  Journal: The Post-YAPC Plan on 2010.06.27 13:34

Journal by schwern on 2010.06.27 13:34
User Journal

I spent most of YAPC::NA mildly sick, sleep deprived and writing talks. Each of those things alone isn't so bad, but put all together meant I had time and energy enough to do my talks, discuss with people after, and that's about it. As a result, I was kind of dead in the head most of the time and didn't do a whole lot of interaction with people. I didn't feel like I got the most out of the one opportunity a year I get to hang out with huge gobs of Perl folk.

Read More 3 comments
Comments: 3
+ -

  Comment: Re:Hash::FieldHash (Score 1) on 2010.05.03 13:36

You're right, it is significantly faster. Over 2x faster. I'll do some more testing and switch it over.

Read More 7 comments
Comments: 7
+ -

  Comment: Re:UNIVERSAL (Score 1) on 2010.05.02 18:58

True, true.

Now that we've all had our OH GOD UNIVERSAL time, what do you think of the actual module?

Read More 7 comments
Comments: 7
+ -

  Comment: Re:UNIVERSAL (Score 1) on 2010.05.02 14:55

All the objections associated with UNIVERSAL::isa($obj, $class) vs $obj->isa($class); come to mind. Why would you override object_id()? Its too early to say. Apparently we thought the same thing about isa() and can().

OTOH maybe someone might write their own object_id() method that does something different and you'll accidentally get that? Entirely possible, but turns out to be highly improbable. A Google Code Search there's only a handful of object_id() methods out there (I cut out BioPerl, Moco and Pogo because they artificially inflate the count).

Anyhow, this sort of feather ruffling is why UNIVERSAL::Object::ID is in its own package.

FWIW you can already call object_id($obj).

Read More 7 comments
Comments: 7