Regex to arrayby kepler (Scribe)
|on Jan 09, 2018 at 12:34 UTC||Need Help??|
kepler has asked for the
wisdom of the Perl Monks concerning the following question:
So I have a string (read from a file) that has sections; so 1 line says SECTION 1 and its values follows in the next lines, until SECTION 2, and so on...I splited the string like this:
Is there a way of automatically assing to an hash array its respective values, that is, create an hash array where
contains the respective values without a simple loop?