Do you know where your variables are? | |
PerlMonks |
Re^2: Read Excel file via Perlby alexander_lunev (Pilgrim) |
on Sep 17, 2018 at 18:00 UTC ( [id://1222529]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|