in reply to How to convert unix ~path (tilde) to full path
use File::Glob ':glob'; $FullFileName = bsd_glob($FileName, GLOB_TILDE); [download]