Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: system sub routine with windows7

by marto (Chancellor)
on Jun 28, 2013 at 09:14 UTC ( #1041195=note: print w/ replies, xml ) Need Help??


in reply to system sub routine with windows7

Find out why it doesn't work, for example:

#!/usr/bin/perl use strict; use warnings; my @args = ("dir", "c:\\"); # replace this with your command and the a +rgument system(@args) == 0 or die "system @args failed: $?"

See system for more information. If you're new the following may be helpful:


Comment on Re: system sub routine with windows7
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (14)
As of 2014-10-01 12:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (10 votes), past polls