How can I retrieve the link with the highest number in it using Perl?by virtus (Initiate)
|on Jul 10, 2013 at 01:25 UTC||Need Help??|
virtus has asked for the
wisdom of the Perl Monks concerning the following question:
I'm improving an old script that I had that downloaded some wallpapers for me. I need to know how many
pages of wallpapers one category have. Each link has the number of the page as its text, ie:
So I need to capture the number ten, because then I can know for sure how many pages that category has.
I've been trying something like:
Problem is I'm also getting some junk in the array (not only numbers), so I get a compile error.
Can someone please shed some enlightenment here? tnx