Help for this page

Select Code to Download


  1. or download this
    @array = (1..9);
    while (@array){
      print +(pop @array), "\n";
    }
    
  2. or download this
    @array = (1..9);
    while (@array){
    ...
      do_something($last);
      print "$last\n";
    }