if (($localdir =~ m/^[\w\W\s\S]+\\((H|HD)[0-9]{1,3}(FA|FC|C|P|CO)[0-9] +{1,3})/i) or ($localdir =~ m/^[\w\W\s\S]+\\((FC|LM|CO)+[\w\W\s\S]+)/i)) { $tcId = $1; } else { die "TC directory structure is not proper!"; }
In the above code it will printing the else loop statement but i want if loop statements i am executing these code in Linux for that I have to change anything in my code. So please Suggest me.
In reply to In my it is printing in the else i want to get output for the for loop in linux. by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |