wbarrett has asked for the wisdom of the Perl Monks concerning the following question:
Backticks fail silently under Windows 7, 64 bit, and Perl 32bit. This code produced an empty string:
my $b= `dir`;I fell into this trap, then realized I shifted to a 64bit windows Professional since last running Perl under Windows Vista.
The cure - get rid of all old 32 bit Perl installations, install 64 bit.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Backtick failure in Windows 7 (common pitfall)
by Anonymous Monk on May 10, 2014 at 07:15 UTC | |
|
Re: Backtick failure in Windows 7
by ww (Archbishop) on May 09, 2014 at 23:22 UTC | |
|
Re: Backtick failure in Windows 7
by 2teez (Vicar) on May 09, 2014 at 18:50 UTC | |
|
Re: Backtick failure in Windows 7
by locked_user sundialsvc4 (Abbot) on May 11, 2014 at 02:40 UTC |