I have a perl script that runs on both UNIX and PCs (Windows). I am given a list of filenames from the user. If the user is on UNIX and specifies the file path with a "~", I need to convert the name to the full path name.
This works most of the time, but sometimes it returns a null string.
Is there a length limitation on glob (I've only seen the null string returned on a very long pathname)?