Help for this page

Select Code to Download


  1. or download this
    perl -le '$foo{"bar"} = ["a","b"]; print ref $foo{"bar"}'
    
  2. or download this
        if (ref $item eq 'ARRAY') {
            print "Array in Array item:\n";
    ...
        else {
            print "Array Item: $item\n";
        }