Please look at the following error: (ActivePerl, Windows)
Can't coerce UNKNOWN to string in entersub at c:/Perl/lib/Encode.pm line 184.
Use of uninitialized value in scalar chomp at c:\xxx\rte\Modules/UI_console.pm line 526.
Modification of a read-only value attempted at c:\xxx\rte\Modules/UI_console.pm line 527.
what's with the slashes? Why are they inconsistent?
Furthermore, How come I cannot get the following to work:
my $PATH = cwd();
$PATH =~ s/\//\\\\/g; # substitute the slashes to be DOS compliant
# when I print $PATH; I get:
current path: C:\xxx_Projects\RTE\Modules
# when I print @INC; I get:
but if I use:
it works just fine!!!
How come I can't use cwd() to define a @INC include string? It barfs on me!
This question has probably been asked 100 times before - please don't ignore it!