# PROCESSING THE TAG LIST.... my $first_tag = $self->{ tags(0) }; my $second_tag = $self->{ tags(1) }; if( $second_tag =~ "=" ) { # Split apart the key-value pair my @words = split /\=/,$second_tag; } @results = $tree->look_down( _tag => $first_tag, "$words[0]" => qr("$words[1]") );