$stdin = ; sub ext { print "Name the extension of the file that you want to find:" ; $ext = ; $e = $ext ; } sub name { print "Name the filename of the file that you want to find:" ; $file = ; $f = $file ; } sub dir { print "Name the directory that you want to search:" ; $dir = ; $d = $dir ; } opendir(DIR, $dir) ; $s = "$f\.$e" ; $x = glob($s) ; print ("Here are the file(s) that you requested: $x") ;