Hi,
Please forgive if you know this already, especially as it doesn't address your immediate question. The rest of the comments to this point should very readily help you through your current problem...but getting the contents of a directory is more easily, quickly and safely done without handing off to a shell.
my @filelist = glob './*'; #get filelist of curdir
,welchavw
In reply to Re: split to get the dir name
by welchavw
in thread split to get the dir name
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |