in reply to split "/" out of path

Anonymous Monk,
If you only want t1.out of the path, there is no reason to split.
use File::Basename 'basename'; my $file = basename( "/tmp/test/t1.out" );
Cheers - L~R