|
|
| Think about Loose Coupling | |
| PerlMonks |
RE: RE: RE:(3) handling file uploads.by chromatic (Archbishop) |
| on Jun 17, 2000 at 07:09 UTC ( [id://18613]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||