in reply to
List-to-Range generation
This is nice.++
I like to add a
sort {$a <=> $b} @_;
so it doesn't matter what order you pass the list in.
Error:
Keyboard not attached. Press F1 to continue.
Comment on
Re: List-to-Range generation
Download
Code
Replies are listed 'Best First'.
Re: Re: List-to-Range generation
by
japhy
(Canon)
on Jul 05, 2001 at 18:45 UTC
Yes, the sorted-ness was expected.
japhy
--
Perl and Regex Hacker
[reply]
In Section
Cool Uses for Perl