Help for this page

Select Code to Download


  1. or download this
    use POSIX qw/floor/;
    
    ...
      push @questions, splice @allquestions, $idx, 1;
    }
    return @questions;
    
  2. or download this
    local $/= '===';
    
    ...
    push @questions, splice @allquestions, rand @allquestions, 1 for (1..$
    +maxcount)
    
    return @questions;