Think about Loose Coupling | |
PerlMonks |
Re: In my it is printing in the else i want to get output for the for loop in linux.by NetWallah (Canon) |
on Mar 28, 2022 at 05:58 UTC ( [id://11142442]=note: print w/replies, xml ) | Need Help?? |
Why are you attempting to match a backslash "\" in a Linux directory structure ? Some of your other choices in the regex are also questionable: The first part appears to be a "greedy" match for ALL characters.
We could help you if you post some data as to what you are looking for, and some sample directories you want matched. "These opinions are my own, though for a small fee they be yours too."
In Section
Seekers of Perl Wisdom
|
|