Why do you want to put quotes around $folder? Are you really just wanted to test if $folder and $mk are equal except for case?
If so just do the following:
next if uc $mk eq uc $folder;
In reply to Re^3: Converting to uppercase and wrapping ''
by wind
in thread Converting to uppercase and wrapping ''
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |