Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: How to Teach artists Perl w/out Modules

by Sol-Invictus (Scribe)
on Jan 31, 2004 at 15:07 UTC ( #325552=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    [SHELL PROMPT ]$ mkdir site_perl
    
  2. or download this
    [SHELL PROMPT ]$ cd ~ 
    
    ...
    (for csh or tcsh shells - example used tcsh)
    [SHELL PROMPT ]$ pico ./.cshrc 
    [PICO PROMPT ]$ set PERL5LIB=/path/to/my/site_perl
    
  3. or download this
    [SHELL PROMPT ]$ echo $PERL5LIB
    
  4. or download this
    [SHELL PROMPT ]$ cd /path/to/your/site_perl
    [SHELL PROMPT ]$ ftp ftp.CPAN.org/pub/CPAN
    ...
    ftp> get /path/to/yourmodule.tar.gz  [space]/path/to/your/site_perl/yo
    +urmodule.tar.gz
    ftp> quit
    221 Goodbye.
    
  5. or download this
    [SHELL PROMPT ]$ gzip -d yourmodule.tar.gz
    
  6. or download this
    [SHELL PROMPT ]$ tar -xvf yourmodule.tar
    
  7. or download this
    [SHELL PROMPT ]$ perl Makefile.PL LIB=/path/to/my/site_perl \
    INSTALLMAN1DIR=/path/to/my/man/man1 \
    ...
    [SHELL PROMPT ]$ make 
    
    [SHELL PROMPT ]$ make test
    
  8. or download this
    [SHELL PROMPT ]$ make install
    
  9. or download this
     
    use lib '/path/to/my/site_perl';
    
  10. or download this
     
    BEGIN { unshift(@INC, "/path/to/my/site_perl") }
    
  11. or download this
    [SHELL PROMPT ]$ perl -MCPAN -e shell
    
  12. or download this
    cpan> cpan_home: /path/to/my/site_perl/ANY_NAME_YOU_WANT 
    
    ...
    you can check these values in the CPAN shell at any time by typing: 
    
    cpan> o conf
    
  13. or download this
    cpan> o conf
    CPAN::Config options and /Users/Sol-Invictus/site-perl/.cpan/CPAN/MyCo
    +nfig.pm:
    ...
            wait://ls6-www.informatik.uni-dortmund.de:1404
        wget
    
  14. or download this
    cpan> o conf init
    
  15. or download this
    [SHELL PROMPT]$ perldoc CPAN
    
  16. or download this
    [SHELL PROMPT]$ man CPAN
    
  17. or download this
    [SHELL PROMPT ]$ perl -MCPAN -e shell
    cpan> install MODULE_YOU_WANT
    
  18. or download this
    cpan> ?
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2022-01-18 06:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (52 votes). Check out past polls.

    Notices?