http://qs1969.pair.com?node_id=1003168


in reply to Re^3: Calling Windows Batch from Perl, double-quote appearing out of nowhere (insanity)
in thread Calling Windows Batch from Perl, double-quote appearing out of nowhere

But why not just include a trailing space and then none of that will likely matter?

Agreed! This indeed looks like the most sensible solution. (well, maybe the most sensible one would be to avoid Windows alltogether ;-)

-- 
Ronald Fischer <ynnor@mm.st>
  • Comment on Re^4: Calling Windows Batch from Perl, double-quote appearing out of nowhere (insanity)
  • Download Code

Replies are listed 'Best First'.
Re^5: Calling Windows Batch from Perl, double-quote appearing out of nowhere (insanity)
by Anonymous Monk on Nov 09, 2012 at 15:52 UTC
    using one of the shellquoting modules I linked usually does the trick for me (keeps perl from fudging up the quoting)