Help for this page

Select Code to Download


  1. or download this
    
    >perl -e"use strict; for (my @x) { } @x"
    Global symbol "@x" requires explicit package name at -e line 1.
    Execution of -e aborted due to compilation errors.
    
  2. or download this
    use strict;
    use warnings;
    ...
    
    --output:--
    "my" variable @y masks earlier declaration in same scope at perl.pl li
    +ne 10.