(you escape a period when you want to match a literal period character in a regex; you escape a slash if you want to match a literal slash in a regex that happens to use the common "/" delimiters, as in /dir\/path/)... $result = "$dirname/$temp1.$temp2.$basename";
In reply to Re^2: optimise perl code
by graff
in thread optimise perl code
by Madam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |