Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Output redirection problem in Windows ActivePerl

by Corion (Patriarch)
on Sep 20, 2010 at 12:15 UTC ( [id://860826]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $cmd = "ping $_ >c:\temp\log.txt";
    print "About to run [$cmd]\n";
    system($cmd) == 0
        or die "Couldn't run [$cmd]: $!/$?/$^E";
    
  2. or download this
    my $cmd = "ping $_ >c:\\temp\\log.txt";
    print "About to run [$cmd]\n";
    system($cmd) == 0
        or die "Couldn't run [$cmd]: $!/$?/$^E";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-25 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found