in reply to how to open a file with space in its name

It looks like the OP may be performing this operation under Windows (space in the name). When specifically code for that OS, I usually pass the file name to Win32::GetShortPathName, which will provide the canonical short name (sans spaces, 8.3 format), and I dont have to worry about spaces in the names
  • Comment on [OT] Re: how to open a file with space in its name