Other monks have given you some good answers here. If you really have no alternative to parsing the output from ls -l then have a peek at File::Listing. I've had to parse the output from ls -l over an FTP connection and File::Listing was perfect for that.
In reply to Re: split to get the dir name
by vek
in thread split to get the dir name
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |