I want to use WWW:Mechanize with perl on BigSur. My Perl:
perl 5, version 34, subversion 0 (v5.34.0)
I could install perl as far as using the modules:
DBI;
LWP::UserAgent;
LWP::Simple qw /get/;
HTML::TreeBuilder;
HTML::Parser;URI qw();
Trying to use
WWW:: Mechanize;
fails with:
Can't locate WWW/Mechanize.pm in @INC (you may need to install the WWW::Mechanize module)
@INC contains: /usr/local/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0/darwin-thread-multi-2level /usr/local/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0 /usr/local/Cellar/perl/5.34.0/lib/perl5/5.34.0/darwin-thread-multi-2level /usr/local/Cellar/perl/5.34.0/lib/perl5/5.34.0 /usr/local/lib/perl5/site_perl/5.34.0)
I tryed to load WWW:Mechanize with
sudo cpanm WWW::Mechanize
with the answer:
WWW::Mechanize is up to date. (2.03)
But WWW::Mechanize is still not seen by BBEdit.
How can I achieve this?