Hi all,
I'm using LWP::UserAgent to access a website. One of the methods
returns HTML data e.g.
my $data = $response->content;
I.e. $data contains the HTML content. I want to be able to parse it line
by line e.g.
foreach (split /pattern/, $data) {
my $line = $_;
..
If I print $da
So you want to split the HTML in a way that $_ becomes one full line of text?
It really depends how the HTML is written. If it's written all on one line
(which is the case sometimes) you would probably need to go another route.
If the HTML is written on multiple lines (and it should be for reada
On May 3, 2013, at 4:59 AM, Edward and Erica Heim wrote:
> Hi all,
>
> I'm using LWP::UserAgent to access a website. One of the methods returns
> HTML data e.g.
>
> my $data = $response->content;
>
> I.e. $data contains the HTML content. I want to be able to parse it line by
> line e.g.
>
On Fri, May 03, 2013 at 09:59:49PM +1000, Edward and Erica Heim wrote:
> Hi all,
Hello,
> I'm using LWP::UserAgent to access a website. One of the methods
> returns HTML data e.g.
>
> my $data = $response->content;
>
> I.e. $data contains the HTML content. I want to be able to parse it
> line
Sorry i not in your level of experience.
If i want to start a mail about perl to wich email should i adress?
I just got started with hello world, and nothing else run's, iam so sad.
On Fri, May 3, 2013 at 3:45 PM, Brandon McCaig wrote:
> On Fri, May 03, 2013 at 09:59:49PM +1000, Edward and Eric
Hi,
Please check my reply below.
On Fri, May 3, 2013 at 12:59 PM, Edward and Erica Heim <
edh...@bigpond.net.au> wrote:
> Hi all,
>
> I'm using LWP::UserAgent to access a website. One of the methods returns
> HTML data e.g.
>
> my $data = $response->content;
>
> I.e. $data contains the HTML cont
OR
On Fri, May 3, 2013 at 6:53 PM, timothy adigun <2teezp...@gmail.com> wrote:
>
> Hi,
> Please check my reply below.
>
> On Fri, May 3, 2013 at 12:59 PM, Edward and Erica Heim <
> edh...@bigpond.net.au> wrote:
>
>> Hi all,
>>
>> I'm using LWP::UserAgent to access a website. One of the methods re
Hi Rahim,
On Fri, 3 May 2013 18:39:57 +0100
Rahim Fakir wrote:
> Sorry i not in your level of experience.
> If i want to start a mail about perl to wich email should i adress?
> I just got started with hello world, and nothing else run's, iam so sad.
>
Please write a new message to beginners@p
Thanks to everyone for the answers provided. I will work through them.
Just as background, I've been on an intense learning curve over the last
several weeks - object oriented Perl, LWP, getting access to secure
websites (HTTPS) to work etc.
I got to the point where I wanted to prototype acce