Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Calling Windows Batch from Perl, double-quote appearing out of nowhere

by rovf (Priest)
on Nov 09, 2012 at 15:40 UTC ( #1003166=note: print w/replies, xml ) Need Help??


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

Indeed, this works too! (big surprise!)

UPDATE: Sorry, responded to quickly. No, it doesn't work. The %% is a notion to escape the percent character, so instead of interpolating the 2nd argument, it just inserts a literal percent sign...

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

Replies are listed 'Best First'.
Re^3: Calling Windows Batch from Perl, double-quote appearing out of nowhere
by Anonymous Monk on Nov 09, 2012 at 15:49 UTC

    not really :) you're using cmd to call cmd and the escaping is botched -- double interpolation

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003166]
help
Chatterbox?
[Discipulus]: since 2002 I just usewd www.perlmonks.org and good morning
Discipulus .oO(maybe a PM discussion?)
[Corion]: Discipulus: Yeah, I left a note to the replies mentioning pairsite.com ;)

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2017-09-26 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (293 votes). Check out past polls.

    Notices?