gwaldo has asked for the wisdom of the Perl Monks concerning the following question:

I would like to install Perl onto a CD, which will run on Solaris 8. I need to have the Storable library on this distribution. Or, I would like to install just the Storable libary on the CD and have my Perl application run from the CD. Can you point me to resources on how to do this?

Replies are listed 'Best First'.
Re: Running Perl off a CD on Solaris 8
by lordsuess (Scribe) on Mar 29, 2002 at 00:36 UTC
    1. Maybe the following node might help you 147921.

    2. With use lib qw(/dev/cdrom) or the like (don't know how it is called under solaris) you can add a directory to the perl-modulesearchpath (@INC) and load Storable from there.

    Best regards,

    lordsuess

Re: Running Perl off a CD on Solaris 8
by mla (Beadle) on Mar 30, 2002 at 05:55 UTC
    I haven't tried this but it seems like it should be straight forward.

    First decide where you're going to mount the CD. I'll assume it's /mnt/cdrom. So create the directory /mnt/cdrom and install Perl, specifying /mnt/cdrom as the prefix (read the install notes on how to accomplish that if you don't know).

    Once it's installed, install anything else you need like Storable.

    Then use mkisofs to create the cdrom image, and cdrecord to burn it.

    Finally, delete everything under /mnt/cdrom (or move it elsewhere) and try mounting the CD.