Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: system command with arguments Error

by Old_Gray_Bear (Bishop)
on Jan 07, 2013 at 18:00 UTC ( #1012075=note: print w/ replies, xml ) Need Help??


in reply to system command with arguments Error

It appears that you are not in the folder that you think you are when the system() is executed. Please post a small, self-contained example of the code you are using. and we can go from there.

----
I Go Back to Sleep, Now.

OGB


Comment on Re: system command with arguments Error
Download Code
Re^2: system command with arguments Error
by ansh batra (Friar) on Jan 07, 2013 at 18:22 UTC

    they are in the same directory. i have checked it .
    and my code is running fine but when it reaches system("perl .......")==0 or die "cant run!!";
    it outputs cant run!!

      There's a less-baudlerized version of this statement:
      You can't just make stuff up and expect Perl to understand.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012075]
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-09-22 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls