I am using cgi-lib.pl in an application. I upload a file from my local windows machine and this file is saved on the unix machine to be used by the application.
I am trying to change over from cgi-lib.pl to CGI.pm. But when i do use CGI.pm and I upload any file from the local windows machine, my application now grabs the whole path of the file (example C:\docs\test.txt). It obviously omits the backslashes(\)used in the windows path for the file and the application ends up with a file called C:docstest.txt.
While using cgi-lib.pl this never happened. I used to get just the file name (example test.txt).
Thanks for any help in advance.