Help for this page

Select Code to Download


  1. or download this
    my @x = \qw(a b c);
    print "$_ $$_ \n" for @x;
    
  2. or download this
    my @x = [qw(a b c)]; #@x has one element
    print "$_ @$_\n" for @x;
    
  3. or download this
    my $x = \qw(a b c);
    print "$x $$x\n";