/path/to/some/file.txt /path/to/some/directory/ Now what I would like to do is write this list to another file, but in the case of directories, I would like to have them in the format: /directory/=directory/ ie, take to last directory from the full path. I've had a look at File::Spec and File::Basename but don't think they can help me!! Any help appreciated. Regards, Stacy.
In reply to Complex string parsing by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |