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


in reply to execution problem if dir name has space in it's name

You're probably looking for this

$glob_path = qq("$LogDir/${Prefix}*");

Enclose the directory name in double quotes


--
Rohan