Help for this page

Select Code to Download


  1. or download this
    @new = ();
    for (@old) {
      push @new, act_on($_);
    }
    
  2. or download this
    @old = (10..20);
    sub act_on {
      return 1..$_;
    }