Help for this page

Select Code to Download


  1. or download this
    my $n;
    for (1..10000000) {
        $n = $_**2;
    }
    
  2. or download this
    for (1..10000000) {
        state $n = $_**2;
    }
    
  3. or download this
    for (1..10000000) {
        my $n = $_**2;
    }