Assuming that $files$i will only contain a path name. Your method is trying to match (word.word), which will obviously fail if there are sub dirs.$files[$i] =~ m#^$conf{rootdir}/(.*)$#; # use alternate regex delimit +ers to avoid confusion $files[$i] = $1;
In reply to Re: Cutting of Path
by Masem
in thread Cutting of Path
by HTTP-404
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |