Hello Monks, I'm using Mojo to parse html and am trying to print the array that I have grabbed and I am getting the following when I print $r2: r2 = Mojo:Collection=ARRAY (0x7fa51ac83968). How can I print the content of the array? This is the code I used to grab the html that I wanted.
$r2 = $dom2->find('[class="fuLhoc ZWArf"]' ) ->map (sub{$_->all_text});Thanks in advance for any assistance that you can provide
In reply to How to print a Mojo::Collection Array by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |