Help for this page

Select Code to Download


  1. or download this
    while ($_ = substr($foo,$i++,1)){
        if (++$_**2 == 0) {
    ...
            last;
        } 
    }
    
  2. or download this
    my $i = 0;
    while (local $_ = substr($foo,$i++,1)){
    ...
            last;
        } 
    }
    
  3. or download this
    while (++substr($foo,$i++,1) != 0){}