1. There is a dot at the end of the default @INC path string
2. There is no comma or any seperator between the paths in that string.

I went to do the following append to @INC, when I noticed these troubles in the 
original @INC string.  Is this only on WinPerl?

_______________________________________________________
BEGIN;
use Cwd;
$dir = getcwd();
$targetDir = ",$dir/Contents/Resource/AddSystem/";
push @INC, $targetDir;
print @INC;
_______________________________________________________
output:
C:/Perl/libC:/Perl/site/lib.,C:/Dev/George/Contents/Resource/AddSystem/

expected output:
C:/Perl/lib,C:/Perl/site/lib,C:/Dev/George/Contents/Resource/AddSystem/

Reply via email to