Help for this page

Select Code to Download


  1. or download this
    # build hash
    while() {
    ...
    # key1 is a number
    # key2 is a sequential number
    }
    
  2. or download this
    $hshFoo{2823}{0} = 2823_0.xml
    $hshFoo{2823}{1} = 2823_1.xml
    $hshFoo{2823}{2} = 2823_2.xml
    $hshFoo{2823}{3} = 2823_3.xml
    
  3. or download this
        foreach $key1 (keys %hshFoo) {
            foreach $key2 (keys %{$hshFoo{$key1}}) {
    ...
    2823/1 => 2823_1.xml
    2823/2 => 2823_2.xml
    2823/3 => 2823_3.xml