1 2 3 4
This module parses range definitions and returns an array of individual numbers. WWW: http://search.cpan.org/dist/Parse-Range/