Help for this page

Select Code to Download


  1. or download this
    while (my $line = <STDIN>) {
       $line = lc + $line;
    ...
       print $line;  #still visible
    }
    # $line now out of scope here
    
  2. or download this
    my $count = 0;
    while ( $count < 10 ) {
    ...
    } continue {
       $count++;
    }