|
|
| Think about Loose Coupling | |
| PerlMonks |
Re^2: dir match, dir may or may not appearby GrandFather (Saint) |
| on Jan 13, 2016 at 05:34 UTC ( [id://1152627]=note: print w/replies, xml ) | Need Help?? |
|
As a general thing don't use | as a regex delimiter because it is the alternation (or) character. It allows you to match cat or dog m~cat|dog~ for example.
Premature optimization is the root of all job security
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||