toohoo has asked for the wisdom of the Perl Monks concerning the following question:
Hello everybody
I just tried to test an one liner.
perl -e use Cwd; print getcwd();In this I get an error
If I put this in a perl script file and run then all is fine.
What I'm doing wrong?
I'm under Windows 10 perl 5, version 26, subversion 2 (v5.26.2) built for x86_64-msys-thread-multi
Thanks in advance, best regards
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: one liner error
by Athanasius (Archbishop) on May 27, 2020 at 06:21 UTC | |
by toohoo (Beadle) on May 28, 2020 at 05:41 UTC | |
|
Re: one liner error
by AnomalousMonk (Archbishop) on May 27, 2020 at 11:02 UTC | |
by Fletch (Bishop) on May 27, 2020 at 13:55 UTC | |
by AnomalousMonk (Archbishop) on May 27, 2020 at 15:22 UTC | |
by Fletch (Bishop) on May 27, 2020 at 15:55 UTC | |
by Anonymous Monk on May 27, 2020 at 17:49 UTC | |
by perlfan (Parson) on May 28, 2020 at 07:05 UTC | |
by toohoo (Beadle) on May 28, 2020 at 05:45 UTC |