Think about Loose Coupling | |
PerlMonks |
Re^3: validate variable-length lines in one regex?by poj (Abbot) |
on Jul 06, 2015 at 20:47 UTC ( [id://1133443]=note: print w/replies, xml ) | Need Help?? |
Another thought - If it's possible to edit the file I would put the mask as the first line, no need to edit the script then. Failing that put something in the filename that chooses the correct mask for you. This would of course mean editing the file for each new mask. poj
In Section
Seekers of Perl Wisdom
|
|