Fixed directory parsing problem with recursive parseDir subroutine
Fixed directory parsing problem with recursive parseDir subroutine

Properly scoped variables so that the recursive parseDir subroutine
was able to return to its previous state (and continue parsing rest)

eugenekolo/watson-perl,nhmood/watson-perl,nhmood/watson-perl,eugenekolo/watson-perl,eugenekolo/watson-perl,nhmood/watson-perl