[Israel.pm] losing my sanity?

Gabor Szabo szabgab at gmail.com
Thu Sep 8 01:15:22 PDT 2011


order of switches?

try

perl -MCwd -e "print Cwd::getcwd();"


On Thu, Sep 8, 2011 at 11:11 AM, Levenglick Dov-RM07994
<RM07994 at freescale.com> wrote:
> Why does:
> perl -e "use Cwd; print Cwd::getcwd();"
> produce:
> D:/Profiles/rm07994/Desktop/SMARTDSP_OS/AT_6_Sep_2340/dsp/Release
>
>
> Whereas
> perl -e -MCwd "print Cwd::getcwd();"
> produce a great big nothing?
>
> This is perl 5, version 12, subversion 4 (v5.12.4) built for MSWin32-x86-multi-thread
> (with 9 registered patches, see perl -V for more detail)
> Binary build 1205 [294981] provided by ActiveState http://www.ActiveState.com
> Built Jun 20 2011 18:35:25


More information about the Perl mailing list