develooper Front page | perl.libwww | Postings from August 2016

Re: Regarding to HTML::Parser

Thread Previous
Shlomi Fish
August 16, 2016 11:22
Re: Regarding to HTML::Parser
Message ID:
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 <> 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 <>
> To:
> 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:

* (note that I originated and maintain it.)

* .

* .

Good luck!



Shlomi Fish

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

Please reply to list if it's a mailing list post

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About