http://www.perlmonks.org?node_id=487359


in reply to Directory location from scalar

Or you could use the module File::Find. Which I consider to be more handy than glob's or <>.