local::lib
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

local::lib

on

  • 1,543 views

Installare ed utilizzare local::lib è semplice... e può risolvere un vostro annoso problema!

Installare ed utilizzare local::lib è semplice... e può risolvere un vostro annoso problema!

Statistics

Views

Total Views
1,543
Views on SlideShare
1,538
Embed Views
5

Actions

Likes
0
Downloads
7
Comments
0

3 Embeds 5

http://www.slideshare.net 2
http://www.polettix.it 2
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

local::lib Presentation Transcript

  • 1. root?
  • 2. no root no party?
  • 3. #!/usr/bin/perl use strict; use warnings; use lib ‘/path/to/...’
  • 4. Brutto per distribuire!
  • 5. Installazione moduli?
  • 6. local::lib
  • 7. local::lib
  • 8. Installazione wget... && tar && cd perl Makefile.PL --bootstrap make test && make install
  • 9. Installazione wget... && tar && cd perl Makefile.PL --bootstrap make test && make install
  • 10. Installazione wget... && tar && cd perl Makefile.PL --bootstrap make test && make install
  • 11. Attivazione echo 'eval $( perl -I$HOME/perl5/lib/perl5 -Mlocal::lib )' >>~/.bashrc
  • 12. Attivazione echo 'eval $( perl -I$HOME/perl5/lib/perl5 -Mlocal::lib )' >>~/.bashrc
  • 13. Attivazione echo 'eval $( perl -I$HOME/perl5/lib/perl5 -Mlocal::lib )' >>~/.bashrc
  • 14. Attivazione echo 'eval $( perl -I$HOME/perl5/lib/perl5 -Mlocal::lib )' >>~/.bashrc
  • 15. Basta!
  • 16. Uso? Automatico? shell$ perl -e 'print "@INC"' /home/pippo/perl5 ...
  • 17. Uso? Automatico? shell$ echo $PERL5LIB /home/pippo/perl5 ...
  • 18. Installazione? Automatica? shell$ cpan cpan shell -- CPAN exploration and modules installation (v1.9301) ReadLine support enabled cpan[1]> install Foo::Bar
  • 19. Installazione? Automatica? shell$ echo $MODULEBUILDRC /home/pippo/perl5/.modulebuildrc
  • 20. Installazione? Automatica? shell$ echo $PERL_MM_OPT INSTALL_BASE=/home/pippo/perl5
  • 21. Blame Him
  • 22. T HA NK Blame Him