I want to extract url's from an HTML on my harddrive.
I want to install the module HTML:TokeParser. I think this is the module that will do the job.
But then I get this message:
$ cpan HTML::TokeParser
CPAN.pm requires configuration, but most of it can be done automatical
+ly.
If you answer 'no' below, you will enter an interactive dialog for eac
+h
configuration option instead.
Would you like to configure as much as possible automatically? [yes] y
+es
Use of uninitialized value $what in concatenation (.) or string at /us
+r/share/perl/5.20/App/Cpan.pm line 565, <STDIN> line 1.
Warning: You do not have write permission for Perl library directories
+.
To install modules, you need to configure a local Perl library directo
+ry or
escalate your privileges. CPAN can help you by bootstrapping the loca
+l::lib
module or by configuring itself to use 'sudo' (if available). You may
+ also
resolve this problem manually if you need to customize your setup.
What approach do you want? (Choose 'local::lib', 'sudo' or 'manual')
First question: will this module do the thing that I want it to do.
Second question: what is the best thing to do? local::lib or sudo.