Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    # print scalar num2range( 1,2,2.5,3.5,4.5,7,6,-5,-6,-7,7,8,9,10,0,12,4
    +2-24 );
    # Gives:
    # -7--5,0-2,2.5-4.5,4.6,6-10,12,18