Slash Boxes
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 ]

robin (1821)

  (email not shown publicly)

Journal of robin (1821)

Thursday July 26, 2001
10:06 AM

Oo welcome. Oo vudge welcome.

[ #505 ]
I finally have my own journal. I'll use it to make occasional notes on Perl things that I'm working on.

Yesterday I released Want 0.03. It's my attempt to implement most of RFC 21 for Perl 5, along with any other related features which seem cool or useful.

Recently I discovered the Johnson-Trotter algorithm for generating all the permutations of a list. It's a cool algorithm which goes from one permutation to the next by swapping a single pair of adjacent elements, mostly in constant time. I might put a bit of code here to illustrate how it works.