Re: Getting the href

2004-05-17 Thread Rob Dixon
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

Re: Getting the href

2004-05-17 Thread JupiterHost.Net
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\=\"

Re: Getting the href

2004-05-17 Thread Wiggins d Anconia
> > > 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

Re: Getting the href

2004-05-17 Thread JupiterHost.Net
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\.\-]

Re: Getting the href

2004-05-17 Thread Wiggins d Anconia
> 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