http://www.perlmonks.org?node_id=529435


in reply to Fetch filename only

look at perldoc File::Basename

HTH

Sweetblood