Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

RE: RE: RE:(3) handling file uploads.

by chromatic (Archbishop)
on Jun 17, 2000 at 11:09 UTC ( [id://18613] : note . print w/replies, xml ) Need Help??

in reply to RE: RE:(3) handling file uploads.
in thread handling file uploads.

The core File::Basename module may be of assistance. You might also have luck with a regex like the following: $filename =~ s!.*[/\]([^/\]*?)!$1!; I put more stock in the module than in my regex, however.