From: Mischa POSLAWSKY Date: Sun, 15 Nov 2009 04:10:42 +0000 (+0100) Subject: rethink method parameters: options to new(), data to ranges() X-Git-Url: http://git.shiar.nl/perl/list-index.git/commitdiff_plain/b9c565b77b8ac8f8856c6af118a1e1af5b917c24?hp=b9c565b77b8ac8f8856c6af118a1e1af5b917c24 rethink method parameters: options to new(), data to ranges() With normal usage, calling multiple ranges for the same data seems unlikely. More useful would be to reuse the same options for different lists, so make that the object variable. Tests are a clear exception because the same input is reused often. Doesn't suffer too much though, as options can now be kept instead. ---