Inhaltsverzeichnis

Modul für Perl installieren

openSUSE

zypper addrepo http://r.opensu.se/devel:languages:perl.repo
zypper install 'perl(Net::SMTP::SSL)'
zypper what-provides 'perl(Class::MOP)'

Manuel

perl Makefile.PL
        make
        make test # nothing substantial yet
        make install
# perl -MCPAN -e shell
CPAN: File::HomeDir loaded ok (v0.69)

cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support enabled

cpan[1]> o conf init

The configuration script will run again as if you had never configured CPAN. Best of all, if you need to stop mid-way through the reconfiguration, your original configuration is still there. If you’d rather just adjust your mirror list rather than starting over completely with the CPAN configuration, use the following:

Display your current mirrors:
o conf urllist

Delete the first mirror in your list:
o conf urllist shift

Delete the last mirror in your list:
o conf urllist pop

Add on a new mirror:
o conf urllist push http://cpan.mirror.facebook.com/

Save your mirror changes:
o conf urllist commit