2 things,
- Are you looking to emulate the behavior of ls from perl?
- Or are you looking for an purely perl way of accomplishing your task
If you're simply looking to emulate the behavior of ls, then call it from perl, by using either system("ls *.seq"); or backticking ie my $cmd_output = `ls *.seq`; If you were looking for a purely perl way to accomplish this task, then my information is of little use to you, but if you were looking to emulate the behavior of ls from perl, regardless of it being a system call or a perl function, then maybe my comments are of some use.
| [reply] [d/l] [select] |