Jason Dusek wrote:
>
> What is good way to pull the href from a link in html? If I have links like:
>
> meow woof moo bark bahh meow
> bahh moo bark
>
> How do I pull just the 'here_kitty' part?
Hi Jason.
For something simple like this HTML::SimpleLinkExtor is ideal.
The program below should hel
Wiggins d Anconia wrote:
Jason Dusek wrote:
Hi Everyone,
Hello,
What is good way to pull the href from a link in html? If I have links
like:
meow woof moo bark bahh meow
bahh moo bark
There's are modules that help you do it, but this may work for what you
need:
my @href = $html =~ m/href\=\"
>
>
> Jason Dusek wrote:
> > Hi Everyone,
>
> Hello,
>
> > What is good way to pull the href from a link in html? If I have links
> > like:
> >
> > meow woof moo bark bahh meow
> > bahh moo bark
>
> There's are modules that help you do it, but this may work for what you
> need:
>
> my @hr
Jason Dusek wrote:
Hi Everyone,
Hello,
What is good way to pull the href from a link in html? If I have links
like:
meow woof moo bark bahh meow
bahh moo bark
There's are modules that help you do it, but this may work for what you
need:
my @href = $html =~ m/href\=\"((https?\:\/\/)?[\/\w\.\-]
> Hi Everyone,
>
> What is good way to pull the href from a link in html? If I have links
like:
>
> meow woof moo bark bahh meow
> bahh moo bark
>
> How do I pull just the 'here_kitty' part?
Use an HTML parsing module. HTML::TokeParser::Simple has proven
effective for me.
There are regex po