perl -le 'print for reverse(5 .. 9), 12 .. 18;' [download]
I hope this is of use.
Cheers,
JohnGG
In reply to Re: Perl range by johngg in thread Perl range by drake50