WisDomSeeKer34 has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Installing module problem
by 1nickt (Canon) on Oct 18, 2016 at 20:23 UTC | |
|
Re: Installing module problem
by silent11 (Vicar) on Oct 18, 2016 at 20:41 UTC | |
|
Re: Installing module problem
by Punitha Krishna (Initiate) on Oct 19, 2016 at 10:31 UTC | |
by afoken (Chancellor) on Oct 19, 2016 at 20:15 UTC |