Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|