See File::Basename or File::Spec.
In reply to Re: File Find Rule question by gmargo in thread File Find Rule question by Karger78