Incidentally, perl2host is arguably a bad name for this routine - there is nothing perl-specific about the paths, they are provided by the msys environment. Maybe virtual2host or some such would be a better name, or even just host_path or native_path.
There is a utility cygpath [1] meant for the conversion between Unix and Windows path formats, that might be a meaningful name also.