http://www.perlmonks.org?node_id=1003139


in reply to Calling Windows Batch from Perl, double-quote appearing out of nowhere

Runs fine in cygwin with the following changes:

Update: 1 has been answered below, but it seems that feature not supported in Perl under cygwin

A Monk aims to give answers to those who have none, and to learn from those who know more.
  • Comment on Re: Calling Windows Batch from Perl, double-quote appearing out of nowhere

Replies are listed 'Best First'.
Re^2: Calling Windows Batch from Perl, double-quote appearing out of nowhere
by rovf (Priest) on Nov 09, 2012 at 15:18 UTC
    but it seems that feature not supported in Perl under cygwin
    The feature isn't supported on Unix/Linux either - I think that's the reason why it is also absent from Cygwin Perl.

    -- 
    Ronald Fischer <ynnor@mm.st>
Re^2: Calling Windows Batch from Perl, double-quote appearing out of nowhere
by Anonymous Monk on Nov 09, 2012 at 14:37 UTC
    its a wart, see perlport#system, although, if you don't know the answer, or the question, might want to pause and consider if you should jump in :)
      Actually I ran the OPs program on my system, and the program failed because of the wart, so it was a legitimate query. My perl version (5.14) is more recent than the OP, so the program should run, warts and all. :-)
      A Monk aims to give answers to those who have none, and to learn from those who know more.
        but you're not running on windows, cygwin isn't windows