in reply to split "/" out of path
use File::Basename 'basename'; my $file = basename( "/tmp/test/t1.out" ); [download]