----- Original Message ----- 
From: "Charles K. Clarkson" <[EMAIL PROTECTED]>
To: <Perl-Win32-Users@listserv.ActiveState.com>
Sent: Thursday, July 07, 2005 5:26 AM
Subject: RE: Using canned subroutines with includes


> Doug Loud <> wrote:
> :
> : In the windows world, however, when I try the same thing, I get an
> : error telling me that  the system "Can't locate /Includes/XYZ.pl in
> : @INC ".
>
>     Sounds like you need to place the parent directory of /Includes
> in @INC.

Yes - it *does* sound like that needs to be done - but that's not so.
As long as '/Include/XYZ.pl' exists, then running 'require
"/Includes/XYZ.pl";' will find it, irrespective of what @INC contains.

But if the file doesn't exist, and also can't be found in @INC, then perl
complains that it can't be found in @INC.

Cheers,
Rob


_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to