order of switches?

try

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


On Thu, Sep 8, 2011 at 11:11 AM, Levenglick Dov-RM07994
<[email protected]> 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
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to