Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2014-08-23 17:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (175 votes), past polls