P is for Practical | |
PerlMonks |
Re^2: Challenge: Parse XML Feed for Youtube channel -- Mojo::DOMby LanX (Saint) |
on Jun 29, 2022 at 11:05 UTC ( [id://11145171]=note: print w/replies, xml ) | Need Help?? |
Here a new approach with Mojo::DOM and taking benefit from it's overloading to shorten ->text and ->attr methods away. Also using an own rolled "template system" for readability The explicit map in the callback might also be easier done with an Mojo::DOM method ... maybe?
<Reveal this spoiler or all in this thread>
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|