> In linux it automatically looks in the current directory. However, with
> windows, it looks to C:/Perl/lib or C:/Perl/site/lib .

All versions of Perl look in the global array @INC to see which directories
to look for files:

perl -v

Characteristics of this binary (from libperl):
  Locally applied patches:
        ActivePerl Build 522
  Built under MSWin32
  Compiled at Nov  2 1999 09:52:28
  @INC:
    C:/Perl/lib
    C:/Perl/site/lib

> I tried putting the pl file into those directories, and I tried changing

It should work by just putting it in the current directory too. If not you
can always add another directory to @INC or use the 'lib' pragma.

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to