in reply to Re: Read Excel file via Perl
in thread Read Excel file via Perl
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Read Excel file via Perl
by thanos1983 (Parson) on Sep 17, 2018 at 18:28 UTC |