On Thu, Feb 19, 2015 at 8:37 AM, nicolas <nicolas...@mail.com> wrote:

>
> When I did
> perl -V:sitelib
> sitelib='/usr/local/share/perl/5.18.2';
> I can browse usr/local/share/ but I annot access /perl/5.18.2
>

Well, that @INC is compiled into the Perl exe, so it doesn't have to exist.
You can create the path yourself first and then put the file there. I'm
thinking it will still need to go under a lib dir to match, so (may or may
not need sudo)
$ mkdir -p /usr/local/share/perl/5.18.2/lib
$ cp vt.pm /usr/local/share/perl/5.18.2/lib

Just an FYI - one of the best "bashisms" I've found (and found lots of
folks don't know about it) is <alt>-<period> (hold down alt, hit the period
key).  After the mkdir cmd, you just type
cp vt.pm <alt>-<period>

and it puts in the last argument from the previous cmd.   You can actually
access any part of the previous cmd, starting at position zero (which'd be
"mkdir" there):
 <alt>-<position number><alt>-<shift>-y

"yanks" and puts that space separated word from the previous cmd.
-- 

a

Andy Bach,
afb...@gmail.com
608 658-1890 cell
608 261-5738 wk

Reply via email to