Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    push( @blah, $lines[ $#lines - splice( @range, int rand @range, 1 ) ] 
    +)
      for @range;
    print $#blah . $/;
    
  2. or download this
    for ( @range ) {
       push( @blah, $lines[ $#lines - splice( @range, int rand @range, 1 )
    + ] )
    }