|
Posted by Mumia W. (on aioe) on December 14, 2006, 2:41 pm
Please log in for more thread options
On 12/14/2006 01:04 PM, Uri Guttman wrote:
>
> this is due to a doc bug more than a coding bug. the section on
> selecting a style doesn't use the 'style' option. i originally thought i
> would use that but dropped it. you just need 'plain' (or another style)
> for the style value. and you must have seen another example (which i
> found) which incorrectly uses 'style'. so i can either edit the text
> (easy) and leave style out or i can add your fix and the tests for it
> and the new docs for it. which should i do? hmmmm. easy edit or lots of
> annoying detail work? tough choice! :)
>
> uri
>
I vote for changing the docs.
:-)
I changed them in my copy:
> my $sorter = make_sorter(
> 'ST',
> init_code => 'my( $str, $num ) ;',
> string => 'do{( $str, $num ) =
> $_->[0][0] =~ /^(\w+):(\d+)$/; $str}',
> number => '$num'
> ) ;
>
And I got rid of the option in @value_args.
--
paduille.4060.mumia.w@earthlink.net
http://home.earthlink.net/~mumia.w.18.spam/
|