Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: System call in Windows

by runrig (Abbot)
on Oct 24, 2008 at 19:37 UTC ( #719414=note: print w/ replies, xml ) Need Help??


in reply to Re: System call in Windows
in thread System call in Windows

If the OP fixed the quoting, then the file would be opened, read, and written to. Look at the -p and -i options in perlrun.

Update:

Won't that spawn another shell?

Yes, and you could do it without spawning another shell, with a bit more code. But the -p and -i flags make the job convenient, and if the OP doesn't care about the extra process, then neither do I :-)


Comment on Re^2: System call in Windows

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://719414]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-12-28 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (178 votes), past polls