Help for this page

Select Code to Download


  1. or download this
    for (                       # Lexical scope
      my($idx,$x,$y)=(0,0,0);   # Initializer
    ...
      print "$idx, $x, $y\n";
    }
    
  2. or download this
    {                                     # Lexical scope
      my( $idx, $x, $y ) = ( 0, 0, 0 );   # Initializer
    ...
        $y += 3;
      }
    }
    
  3. or download this
    $ perl -MO=Deparse,-x9 ./mytest.pl
    
    ...
        }
    }
    ./mytest.pl syntax OK