Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        my ($count, $range) = @_;
        return map { scalar_func($range) } 1 .. $count;
    }
    
  2. or download this
    A random number from 1 .. 10:
    1
    ...
    3110103
    Print all of them on a single line, with commas
    3, 1, 10, 10, 3