oh, I just noticed that you do have 2 img statements in your data.  You'll
have to use the /g regex modifier to catch them all.

@images = $info =~ /img.*?src="(.*?)"/sg;

Now, each element of @images will contain one of the parenthetical matches.
So, in your example, scalar(@images) == 2 and $images[0] equals the first
image matched while $images[1] is the second one matched.

Notice the minimal match after the img so that not too much is gobbled up.

Good Luck!
Tanton


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to