Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 lurking in the Monastery: (7)
As of 2015-07-03 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls