C:\usr\local\share\PassThru\perl>berrybrew use 5.10.1_32,5.16.3_64,5.20.3_64,5.26.1_32 perl-5.10.1_32 ============== Microsoft Windows [Version 10.0.16299.611] (c) 2017 Microsoft Corporation. All rights reserved. : run "exit" leave this environment C:\usr\local\share\PassThru\perl>perl -Mwarnings -Mstrict -MConfig -le "my $cmd = q|C:\Program Files\Mozilla Firefox\firefox.exe|; open my $fh, '-|', $cmd, '--version' or die $!; m y $out = do { local $/; <$fh> }; close $fh or die $! ? $! : qq(\$?=$?); print $out; print $Config{myuname}" List form of pipe open not implemented at -e line 1. : run "exit" leave this environment C:\usr\local\share\PassThru\perl>exit Exiting perl-5.16.3_64 ============== Microsoft Windows [Version 10.0.16299.611] (c) 2017 Microsoft Corporation. All rights reserved. : run "exit" leave this environment C:\usr\local\share\PassThru\perl>perl -Mwarnings -Mstrict -MConfig -le "my $cmd = q|C:\Program Files\Mozilla Firefox\firefox.exe|; open my $fh, '-|', $cmd, '--version' or die $!; m y $out = do { local $/; <$fh> }; close $fh or die $! ? $! : qq(\$?=$?); print $out; print $Config{myuname}" List form of pipe open not implemented at -e line 1. : run "exit" leave this environment C:\usr\local\share\PassThru\perl>exit Exiting perl-5.20.3_64 ============== Microsoft Windows [Version 10.0.16299.611] (c) 2017 Microsoft Corporation. All rights reserved. : run "exit" leave this environment C:\usr\local\share\PassThru\perl>perl -Mwarnings -Mstrict -MConfig -le "my $cmd = q|C:\Program Files\Mozilla Firefox\firefox.exe|; open my $fh, '-|', $cmd, '--version' or die $!; m y $out = do { local $/; <$fh> }; close $fh or die $! ? $! : qq(\$?=$?); print $out; print $Config{myuname}" List form of pipe open not implemented at -e line 1. : run "exit" leave this environment C:\usr\local\share\PassThru\perl>exit Exiting perl-5.26.1_32 ============== Microsoft Windows [Version 10.0.16299.611] (c) 2017 Microsoft Corporation. All rights reserved. : run "exit" leave this environment C:\usr\local\share\PassThru\perl>perl -Mwarnings -Mstrict -MConfig -le "my $cmd = q|C:\Program Files\Mozilla Firefox\firefox.exe|; open my $fh, '-|', $cmd, '--version' or die $!; m y $out = do { local $/; <$fh> }; close $fh or die $! ? $! : qq(\$?=$?); print $out; print $Config{myuname}" Mozilla Firefox 61.0.2 Win32 strawberry-perl-no64 5.26.1.1 #1 Sun Sep 24 11:38:56 2017 i386 : run "exit" leave this environment C:\usr\local\share\PassThru\perl>exit Exiting