The easiest way is File::Basename.
But maybe you want to show us what code you already wrote and how it fails for you?
In reply to Re: Pattern Matching
by Corion
in thread Pattern Matching
by sunil@perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |