hey monks , since I am new to perl. my question might seems real easy . I have the following -rw-rw-r-- 1 kp3194 oper 0 Sep 29 09:20 file1 -rw-rw-r-- 1 kp3194 oper 165 Sep 29 09:20 file2.sql I need to use split to only get the files name somthing like file1 file2.sql I am doing $file = split(/\s*/,12);