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: [Laurent_R] Script, is calling from sub is not working: Edit Log



digioleg54
User

May 5, 2017, 5:39 AM


Views: 1621
Re: [Laurent_R] Script, is calling from sub is not working

Below is my explanation.

Code
$prog = filerequ 

$script=/vhosts/dw18637/cgi-bin/filerequjob.pl


Both scripts

Code
 filerequ.pl and filerequjob.pl


are working on the same directory

In error_log I found below message:

Code
sh: -c: line 1: syntax error near unexpected token `(' 
[Fri May 05 09:31:30 2017] [error] [client 10.153.216.241] sh: -c: line 1: `/versions/perl-5.22.2/bin/perl /vhosts/dw18637/cgi-bin/filerequjob.pl DBI::db=HASH(0x8ac83d0) 20170505'


I am trying to send database connection. Is it wrong?
Thanks


(This post was edited by digioleg54 on May 5, 2017, 6:34 AM)


Edit Log:
Post edited by digioleg54 (User) on May 5, 2017, 6:34 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