On Tue, 2002-08-13 at 10:56, Kirby_Sarah wrote:
> Welllll, actually, I just copied my perl directory from a file server
> instead of installing it, so I don't have any of the modules, just the
> compiler.  I get error messages when I use strict and warnings about @INC.
> I need to sit down and install it correctly... next week, I think.
> 
> -Sarah (okay, it's stupid, but I'd have to get a tech to come to my computer
> to install it because of the lock down and it's just stupid). 

Trust me, I understand about the silliness of lock downs (we don't know
where the problem is, but we assume it is you!).  Try saying 

#!/usr/bin/perl

BEGIN {
        my $share = "/path/to/share"; 
        @INC = (
                "$share/perl5/5.6.1",
                "$share/perl5/site_perl/5.6.1",
                "$share/perl5/site_perl",
        );
}

use warnings;
use strict;

<code>

where the list of strings matches the output of

perl -e '$"="\n";print"@INC\n"';

 
-- 
Today is Setting Orange the 6th day of Bureaucracy in the YOLD 3168
This statement is false.

Missile Address: 33:48:3.521N  84:23:34.786W


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to