Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

time consuming to get right modules by hand

by g00n (Hermit)
on Jan 31, 2004 at 05:24 UTC ( #325506=note: print w/ replies, xml ) Need Help??


in reply to Re: How to Teach artists Perl w/out Modules
in thread How to Teach artists Perl w/out Modules

Create a local directory on your machine and save the CPAN files (which should be available in an archive format) on your hard drive or locker space or whatever is the easiest.

ohh, this is a horrible way to do things. I know I've done this and would not recommend it. Why? CPAN modules are built much like LEGO. A lot of the image modules may be built upon other modules. So you require all the parent modules of the module you choose.

I had to use this method (no net connection) to download, install a complex system using many CPAN modules. Downloading and installing by hand is bad, frustrating and slow.

    ... unless you want to waste a whole afternoon or evening, find an alternative.

What system are you using? (Windows? - Can you install Cygwin?) or Do you have access to a laptop with net access so you can install the CPAN modules. Using CPAN to download modules is good.

    CPAN -e
    ls AUTHORNAME
    get AUTHORNAME/CPAN_MODULENAME

At least you can use the systems side by side with the possibility of transferring working code from the laptop to target machine.


Comment on time consuming to get right modules by hand
Select or Download Code
Re: time consuming to get right modules by hand
by teknomage1 (Initiate) on Jan 31, 2004 at 18:28 UTC
    It's linux w/ a non persistant home directory, ie. they delete whatever's in our homespce every night so we have to back up stuff onto cds. To make matters worse the school's tech policy was written in the windoews days and explicitly states no executables of any form should be installed.
      You could install modules onto a cd and use them with the appropriate use lib 'whatever'.

      Dominus talks about a simple graphics format PPM in his sample solution to his expert qotw #7. Your linux system may already have the cjpeg converter or some other installed.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-09-01 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (14 votes), past polls