in reply to Re: Replace $a with $b if $a ne $bin thread Replace $a with $b if $a ne $b
use File::Basename; my ($name,$path) = fileparse($fullname); [download]