Skip Menu |
 

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 106389
Status: open
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: Trevor.A.Frederick [...] raytheon.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: perl version 5-20 backtick and qx not executing the same fucntion
Date: Wed, 12 Aug 2015 10:14:44 -0600
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: Trevor A Frederick <Trevor.A.Frederick [...] raytheon.com>
Download (untitled) / with headers
text/plain 999b
OS: Windows Server 2008 Strawberry perl 5-20 cygwin 1.5 Windows path env variable has windows entries first then strawberry perl entries, and the cygwin bin directory last. A perl script runs @files = qw("dir $dir /s/b"); where $dir is a valid share (aka //<myserver/dir) This will use the windows "dir" command @files1 = `dir $dir /s/b`; where $dir is a valid share (aka //<myserver/dir) This will use the cygwin dir.exe Tested this by rename the dir.exe in the cygwin/bin directory to cm_dir.exe and the backtick method then used the windows version of "dir", renamed cm_dir.exe back to dir.exe and retested, the backtick method used the cygwin version of dir.exe. The qx method used the windows command both times. Note the qx method and backtick method are in the same script and executed in sequence using the same $dir variable. The qx method returned the expected results. Thanks! Trevor Frederick Sr. Systems Engineer I, with Honors Raytheon Company 720.858.4310 office
Subject: Re: [rt.cpan.org #106389] perl version 5-20 backtick and qx not executing the same fucntion
Date: Sat, 22 Aug 2015 22:49:54 +0200
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: kmx <kmx [...] cpan.org>
Download (untitled) / with headers
text/plain 125b
backticks and qx// should be equivalent `dir c:` vs. qx/dir c:/ but qx/"dir c:"/ is not the same as `dir c:`


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.