Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: how to extract iframes from text

by Anonymous Monk
on Apr 30, 2013 at 19:45 UTC ( #1031462=note: print w/ replies, xml ) Need Help??


in reply to Re^3: how to extract iframes from text
in thread how to extract iframes from text

You are right. that was the dumper(line before). But it is printing just the first iframe not the others. Is there a way to put them all in an array?


Comment on Re^4: how to extract iframes from text
Re^5: how to extract iframes from text
by Anonymous Monk on Apr 30, 2013 at 20:30 UTC
    The at function only finds the first element matching. So it should only return 1.

    To be able to print all iframes, According to Mojo::Dom documentation  find is what I were after, as it returns a collection that matches.

    Now I am trying to find a way to put them in an array....

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031462]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (15)
As of 2014-07-31 16:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (249 votes), past polls