Help for this page

Select Code to Download


  1. or download this
    $ perl -Mstrict -Mwarnings -e '
    my $x;
    my $x;
    '
    "my" variable $x masks earlier declaration in same scope at -e line 3.
    
  2. or download this
    $ perl -Mstrict -Mwarnings -E '
    my @numbers = (2, 1, 3);
    ...
    321
    ABC
    CBA