XP is just a number | |
PerlMonks |
Re: Unable to retrieve the string bist_top_ctrl from a fileby hrcerq (Scribe) |
on May 22, 2021 at 15:55 UTC ( [id://11132890]=note: print w/replies, xml ) | Need Help?? |
Hi, aside from the other suggestions, you could also use split instead of a regex with a capture group, supposing this file will always be structured as a two-column CSV.
It could be further improved, but it's just so you get the picture. Update: The fields variable had the wrong sigil and wasn't lexical. Now corrected. return on_success() or die;
In Section
Seekers of Perl Wisdom
|
|