Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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?

Replies are listed 'Best First'.
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?
[1nickt]: Discipulus Yes, I think it is maybe easier to be a good monk in "real" life when you are young and idealistic or old and weary ... nost so much in middle age.
[1nickt]: 😲 ... or did you mean the Middle Ages, when monastic life was more, umm, "earthy" ?!

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2017-12-13 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (368 votes). Check out past polls.

    Notices?