"be consistent" | |
PerlMonks |
Re: Critique requested for module code - QuickMemo+ readerby 1nickt (Canon) |
on Jan 24, 2021 at 18:00 UTC ( [id://11127381]=note: print w/replies, xml ) | Need Help?? |
Hi, Quick observation: I don't think I would return a reference to a string from extract_json_from_lqm -- it complicates the flow down the chain (having to dereference a ref to a scalar). Just return and pass around the string. Hope this helps!
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|