develooper Front page | perl.perl5.porters | Postings from October 2003

Re: Help with Storable.pm

Thread Previous | Thread Next
From:
schwern
Date:
October 8, 2003 14:40
Subject:
Re: Help with Storable.pm
Message ID:
20031008143950.A19531@ttul.org
On Tue, Oct 07, 2003 at 07:25:54PM -0700, Joe Alagna wrote:
> This is the most basic of questions.  I hope you don't mind me asking.  I'm 
> just starting to learn to use putty to install things.
> 
> I need Storable in my /usr/bin directory.  I've been able to upload it to 
> my server and even install it, but I'm not sure if I have installed it to 
> the proper directory and in the proper form.

Wanting to put Storable into /usr/bin is something of a bizarre request.
Its sort of like asking "How do I steer my fan belt?"

Storable is a Perl library you use when writing Perl programs, not a program 
you run directly.  Most of what is on CPAN are libraries.  In general they 
should not go into /usr/bin/.  /usr/bin/ is for programs.

Some instructions on its installation can be found here:
http://search.cpan.org/~ams/Storable-2.08/README
(the same README file is in your /home/storable directory)

http://search.cpan.org/~ams/Storable-2.08/Storable.pm
Or you can run the command "perldoc Storable" to get the same information.


> person /home/storable# ls
> ChangeLog       Makefile.PL     Storable.pm     t
> MANIFEST        README          Storable.xs

Handy Unix tip, its quite bizarre to create a directory in /home to
contain the source of a library.  /home is typically reserved for user's
directory.  Normally you'd put this into /usr/local/src


> person /home/storable# perl Makefile.PL /usr/bin

Passing a directory to Makefile.PL doesn't do anything.  I'm curious where
you got information that said the above would work.

You can't do what you want because, again, Storable is not a program and
should not go into /usr/bin.  Its a thing you write programs with.

Your copy of Storable is installed with all your other Perl programs.  If
you want to know where that is run "perldoc -l Storable".  In fact, Storable
comes with Perl.  You already had a copy installed.  But its *not* a program.



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About