Help for this page

Select Code to Download


  1. or download this
    @array1=qw(A B C);
    @array2=qw(1 2 3);
    
  2. or download this
    @array1=('A', 'B', 'C');
    @array2=('1', '2', '3');
    
  3. or download this
    %hash = (
    array1=>[('A','B','C')],
    array2=>[('1','2','3')]
    };
    
  4. or download this
    %hash = (
    array1=>[@array1],
    array2=>[@array2]
    };
    
  5. or download this
    %hash = (
    array1=>\@array1,
    array2=>\@array2
    };