Help for this page

Select Code to Download


  1. or download this
        @a[1,2,3] = @b[100,200,300];
    
  2. or download this
        @a{a,b,c}=@b[100,200,300];
    
  3. or download this
        @a{a,b,c}=1;
    
  4. or download this
        for (a,b,c,d) { print "$_\n" if $a{$_} }
    OUTPUT:
        a
    
  5. or download this
        @a{a,b,c}=(1,1,1);
    or
        @a{a,b,c}=(1)x3;