sub GetDirs { my ($Dir, $Posn) = @_; chdir $Dir if $Dir; my @list=glob("*/"); foreach (@list) { print "