Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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

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

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://325506]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2018-05-23 23:12 GMT
Find Nodes?
    Voting Booth?