PWD in $ENV{'PWD'} is not a pwd command, but an environment variable in %ENV hash, which contains current dir on Windows and on *nix systems. So the line push(@INC, $ENV{'PWD'}."/lib"); will correctly add current dir to @INC array in both worlds.
In reply to Re^2: Read Excel file via Perl
by alexander_lunev
in thread Read Excel file via Perl
by AE1602
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |