Help for this page

Select Code to Download


  1. or download this
    my @arr = qw/a b c/;
    for (my $i=0; $i<@arr; ++$i) {
    ...
        print $e;
    }
    print "\n";
    
  2. or download this
    my @arr = qw/a b c/;
    while (@arr) {
    ...
        print $e;
    }
    print "\n";