Flemming Greve Skovengaard wrote:
Brian Volk wrote:
Hi All,
I'm having trouble narrow down the correct "
This piece of code will get ALL the "get_tag('img')) {
my $i = $img_tag->[1]; my $code = $i->{'src'}; print "$code\n"
}
All I want is the 11th one... so I tried to do a foreach (1.
> Brian Volk wrote:
> > Hi All,
> >
> > I'm having trouble narrow down the correct " >
> > This piece of code will get ALL the " >
> > while (my $img_tag = $parser->get_tag('img')) {
> > my $i = $img_tag->[1];
> > my $code = $i->{'src'};
> > print "$code\n"
> > }
> >
> > All I wa
Brian Volk wrote:
Hi All,
I'm having trouble narrow down the correct "
This piece of code will get ALL the "get_tag('img')) {
my $i = $img_tag->[1];
my $code = $i->{'src'};
print "$code\n"
}
All I want is the 11th one... so I tried to do a foreach (1..11) , very
unsucessful... :~)
Hi All,
I'm having trouble narrow down the correct "get_tag('img')) {
my $i = $img_tag->[1];
my $code = $i->{'src'};
print "$code\n"
}
All I want is the 11th one... so I tried to do a foreach (1..11) , very
unsucessful... :~)
Any suggestions would be greatly appreciated Here is