Hello wise monks,
I'm trying to parse several html pages but their format is different in that the info that I want is after three different class tags.
I can find one tag and get the data I want just fine the problem is with the multiple tags. I can return values related to anyone but not all three which is what I want.
I tried to use the "each" and "match" in mojo with no luck.
I also tried looking for a null string value so I wouldn't be overwriting the mapping if I had already found what I needed after matching one tag and extracting the values.
Anyway here's the code that I though could work:
$r2 = $dom2->find( '[class="LC20lb DKV0Md"]' or '[class="BNeawe vvjw
+Jb AP7Wnd"]' or '[class="CVA68e qXLe6d"]' ) -> map( sub{ $_->text } )
+;
Any ideas on how to pull out the data I need behind the 3 tags and map so I can write should be greatly appreciated.
Thanks,
Newbmyer