in reply to split to get the dir name
UPDATE:use File::Basename; my @file = qw(/path/to/file1 /path/to/file2.sql); print basename($_),"\n" for @file;
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|