Help for this page

Select Code to Download


  1. or download this
    my @results;
    foreach(@_) {
        push @results, &$CODE();
    }
    return @results;
    
  2. or download this
    @output = map $_*2, 1 .. 10;
    
  3. or download this
    @output = map { $_*2 } 1 .. 10;