CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [krixham] Getting variable from table and passing it to new script.: Edit Log



FishMonger
Veteran / Moderator

Oct 13, 2015, 6:27 AM


Views: 1286
Re: [krixham] Getting variable from table and passing it to new script.

No, that's not what I meant.

You need to put the quotes around the vars in the system call, not the var assignments.

Code
system("/data1/Scripts/KMRpoc_cleanfiles/ModifiedKMRpoc_cleanfiles99FRANK.pl '$custDir' '$projName' '$logFile'");

You may not need to put quotes around all 3 of those vars. They just need to be around the ones that have the problem characters i.e., the spaces.


(This post was edited by FishMonger on Oct 13, 2015, 7:06 AM)


Edit Log:
Post edited by FishMonger (Veteran) on Oct 13, 2015, 7:06 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives