|Subject:||lang selection + suggestions + single Text::Aspell object|
Hi! I've reviewed this mode for the Perl Advent Calendar (, and ended up tweaking it a little bit. Attached is the resulting patch that contains 3 fixes/improvements: 1. Added the possibility to pass a 'lang' attribute to the object creation, which will then be passed to the underlaying Text::Aspell object. 2. Cache the Text::Aspell object instead of creating it for each new word. 3. Modified suggestions() so that it returns the array directly if wantarray() swings that way. Please feel free to use 'em or toss 'em as you see fit. :-)
Message body not shown because it is not plain text.