Help for this page

Select Code to Download


  1. or download this
    my @results = foreach (@data) {
        $_ = $_ * 13;
    ...
        # kind of push(), but how to get the reference
        # to the resulting array?
    }
    
  2. or download this
    @results = eval {
        my @r;
    ...
        }
        return(@r);
    }