I am building a web interface for uploading files for one of the sub-
committees of our non-profit to be able to share. Since I haven't had
time to learn the CGI module, I am still using the cgi-lib.pl parser file.
When a file is uploaded, for example test.pdf from web form field
'get_file', I realize that I can use $incfn{'get_file'} to get the local
location from which the file was uploaded (e.g.,
C:\directory\subdirectory\test.pdf).
Here is my question: I am not very skilled at regex's. Can someone tell
me how I would truncate the returned value from $incfn{'get_file'} to be
just 'test.pdf'?
Thanks in advance.
Brad Smith
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs