Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Fw: Regarding to HTML::Parser

1 view
Skip to first unread message

Shlomi Fish

unread,
Aug 16, 2016, 7:15:02 AM8/16/16
to lib...@perl.org, Shivani Palle
Hi Shivani!

I'm forwarding your message to the list, where other people can contribute.
Next time please email the list / reply-to-all-recipients.

Regards,

Shlomi Fish

Begin forwarded message:

Date: Tue, 16 Aug 2016 14:54:31 +0530
From: Shivani Palle <palles...@gmail.com>
To: shl...@shlomifish.org
Subject: Regarding to HTML::Parser


Hai shlomif,

Thanks for suggesting me corrections in my code.

I have one more doubt. By using HTML::Parser we can get text between tags.
But is it possible to redirect the output to another file?(I tried it but
not able to redirect output to other file)

And I am new to perl code. Just started learning.Can you suggest me good
websites to learn perl?


Thanks,
Shivani


--
-----------------------------------------------------------------
Shlomi Fish

Chuck Norris could have built the Roman Empire in a day. And it would have
taken him even less time to destroy it.

Please reply to list if it's a mailing list post
Original html part

Shlomi Fish

unread,
Aug 16, 2016, 7:30:03 AM8/16/16
to lib...@perl.org, Shivani Palle
Hi Shivani,

I'm replying to your message below.

Please reply to all recipients this time (!!!).

On Tue, 16 Aug 2016 14:04:00 +0300
Shlomi Fish <shl...@shlomifish.org> wrote:

> Hi Shivani!
>
> I'm forwarding your message to the list, where other people can contribute.
> Next time please email the list / reply-to-all-recipients.
>
> Regards,
>
> Shlomi Fish
>
> Begin forwarded message:
>
> Date: Tue, 16 Aug 2016 14:54:31 +0530
> From: Shivani Palle <palles...@gmail.com>
> To: shl...@shlomifish.org
> Subject: Regarding to HTML::Parser
>
>
> Hai shlomif,
>
> Thanks for suggesting me corrections in my code.
>

You're welcome.

> I have one more doubt. By using HTML::Parser we can get text between tags.
> But is it possible to redirect the output to another file?(I tried it but
> not able to redirect output to other file)

What did you try? Can you show the non-working
redirect-output-to-a-different-file code?

Writing to a different file in Perl is not hard:

use autodie;

open my $fh, '>', 'other_file.txt';

$fh->print("STUFF to print here.");

>
> And I am new to perl code. Just started learning.Can you suggest me good
> websites to learn perl?
>

Sure! See:

* http://perl-begin.org/ (note that I originated and maintain it.)

* http://perl-tutorial.org/ .

* http://learn.perl.org/ .

Good luck!

Regards,

Shlomi

--
-----------------------------------------------------------------
Shlomi Fish

“God is dead.” — Nietzsche
“Nietzsche is dead.” — God (Unknown Source)
0 new messages