Help for this page

Select Code to Download


  1. or download this
    $VAR1 = {
              'component1' => {
    ...
                                'id' => '014'
                              }
            };
    
  2. or download this
    %component_tree = (
      component1 => [
    ...
        { name => 'command8', id => '014' },
      ],
    );
    
  3. or download this
    for my $comp (keys %component_tree)
    {
    ...
            print "    Found ", $data->{name}, " (id [", $data->{id}, "])\
    +n";
        }
    }
    
  4. or download this
    Checking component1...
        Found command1 (id [001])
    ...
        Found command6 (id [012])
        Found command7 (id [013])
        Found command8 (id [014])