Help for this page

Select Code to Download


  1. or download this
    @a = ("a", 1, "b", 2, "c", 3);
    $i = 0;
    ...
    # )
    
    print $foo{"c"}, "\n";  # 1
    
  2. or download this
    @foo{@a} = reverse @a;