Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
            ? ( split /\s+/, $_[0], $_[1] + 1 )[ 0 .. $_[1] - 1 ]
            : join ' ', ( split /\s+/, $_[0], $_[1] + 1 )[ 0 .. $_[1] - 1 
    +];
    }
    
  2. or download this
    one, two, three, four, five, six, seven, eight, nine, ten, 
    one two three four five six seven eight nine ten