more useful options | |
PerlMonks |
Re^4: validate variable-length lines in one regex?by sundialsvc4 (Abbot) |
on Jul 07, 2015 at 01:13 UTC ( [id://1133487]=note: print w/replies, xml ) | Need Help?? |
Hmmm.... Not sure that I would trust the preparer of such files that much. Nor would I, personally, want to so much as touch the data. However, you might have some kind of catalog or configuration-file, external to the script, which provides the necessary information. (And, if the script could not locate exactly-one appropriate entry, for whatever file that it has been given, it would obligingly die().)
In Section
Seekers of Perl Wisdom
|
|