Roles and Responsibilities in Scrum

You might find my Roles and Responsibilities in Scrum of interest (Scrum is not Waterfall).

TIL - Object Method: Named Arguments Unpacking

TIL (or re-learned) how to unpack an object method that has named args, thanks to the Modern Perl book:

    my ($self, %args) = @_;

This idiom unpacks $self, then throw the rest of the arguments into %args.

Stupid Lucene Tricks: Hierarchies

(reposted from the now-sadly-extinct http://use.perl.org/use.perl.org/_Mark+Leighton+Fisher/journal/40449.html)

You can search on hierarchies in Lucene if your hierarchy can be represented as a path enumeration (a Dewey-Decimal-like style of encoding a path, like "001.014.003" for the 3rd grandchild of the 14th child of the 1st branch).

For example, a search phrase like:

hierarchy:001

would return only the direct children of the 1st branch, while:

hierarchy:001*

would return all descendants of the 1st branch.

To get only the children of a particular node, you specify only that node, like:

hierarchy:001.014.003

To get all of the descendants you specify everything that starts with that node:

hierarchy:001.014.003*

To get only the descendants after the children (grandchildren, etc.), you specify:

hierarchy:001.014.003.*

2019-05-21: I haven't tried it, but it looks like you could do this right in Perl with the now-quiescent Apache Lucy loose port of Lucene.

Perl Module Tools (pmtools) v2.2.0 Released - Many RT Fixes

Perl Module Tools (pmtools) v2.2.0 has been released (and updated on GitHub). The focus was on fixing RT bugs. The only outstanding RT issue will be 52851, which is a feature request for pmeth to also display a description for the method. This will require some contemplation to see if I can do this in a reasonably simple manner.

(I say "will be" because rt.cpan.org does not yet have 2.2.0 as a valid version number for pmtools.)

Perl Module Tools (pmtools) v2.1.2 Released - Version Fixed

Perl Module Tools v2.1.2 has now been released to fix the version number everywhere.