Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Installing CPAN modules

by huck (Parson)
on Jan 30, 2019 at 07:14 UTC ( #1229149=note: print w/replies, xml ) Need Help??


in reply to Installing CPAN modules

This may help get you started

use strict; use warnings; #https://www.perlmonks.org/?node_id=1160177 use Storable qw(store retrieve freeze thaw dclone); my $meta = retrieve('C:/Perl/cpan/Metadata'); die "Unable to retrieve from meta!\n" unless defined $meta; #print 'Keys:',join(' ',keys(%$meta)),"\n"; my @wanted; for my $mod (keys(%{$meta->{'CPAN::Module'}})) { next unless ($mod=~m/^Tk/); push @wanted,$mod; } for my $mod (sort @wanted){ print 'cpan -i ' ,$mod,"\n"; } exit;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1229149]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (13)
As of 2019-10-17 15:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?