laziness, impatience, and hubris | |
PerlMonks |
Re: Looking for alternative syntax for assigning variables based on regex matchesby Anonymous Monk |
on Mar 02, 2021 at 13:58 UTC ( [id://11129012]=note: print w/replies, xml ) | Need Help?? |
"There's More Than One Way To Do It." – Tim Toady.
However you choose to do it, make your code easy for a human reader to understand, and easy to change in one small, targeted, "git" commit. What you've written is clear enough, and I would just keep doing it.
In Section
Seekers of Perl Wisdom
|
|