See perldoc File::Basename; one of fileparse or basename might be what you're looking for (although you've still got a somewhat vague problem statement there).
--
We're looking for people in ATL
In reply to Re^2: Directory Parsing
by Fletch
in thread Directory Parsing
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |