Help for this page

Select Code to Download


  1. or download this
    my $i=0 , @X ;
    
  2. or download this
    my $i=0 , @X;
    print "\@X is a global!\n" if defined $main::{X};
    __END__
    @X is a global!
    
  3. or download this
    my ($i, @X) = 0; # $i gets the zero, @X gets nothing
    
  4. or download this
    my $i = 0;
    my @X;