in reply to Running executable with Win32::Job

What output do you get if you print this?:

print $Config{"C:/Windows/System32/cmd.exe"};

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: Running executable with Win32::Job
by sjwnih111 (Novice) on Nov 27, 2013 at 16:26 UTC
    Having no space between pattern and following word is deprecated at w +in_job.pl line 67. Bareword found where operator expected at win_job.pl line 67, near "/W +indows/System32" (Missing operator before System32?) String found where operator expected at win_job.pl line 67, near "exe" +}"" syntax error at win_job.pl line 67, at EOF syntax error at win_job.pl line 67, near "/Windows/System32" Execution of win_job.pl aborted due to compilation errors.
      Actually, that was for
      print "config $Config{"C:/Windows/System32/cmd.exe"}";
       print $Config{"C:/Windows/System32/cmd.exe"} gives no output
        It turns out that some of the paths were being read from an xml file that had forward slashes. when I changed this, it worked.