Help for this page

Select Code to Download


  1. or download this
    my $n; for (1..5) { $n++; say $n }
    
    ...
    3
    4
    5
    
  2. or download this
    for (1..5) { state $n++; say $n }
    
    ...
    3
    4
    5