in reply to Printing output of perl cgi to a file

G'day Sabiha,

"But this is not working."

Well, you'll probably want to do something that makes it work.

If you want our help with whatever that "do something" equates to, then providing us with information about "is not working" would be a good start.

Please read the guidelines in "How do I post a question effectively?" and follow them in any future posts.

-- Ken

  • Comment on Re: Printing output of perl cgi to a file

Replies are listed 'Best First'.
Re^2: Printing output of perl cgi to a file
by Sabiha (Initiate) on Apr 01, 2014 at 09:41 UTC

    I have tried to write the code within a .pl file and have called that file from the cgi script as follows:

    system("perl /path/sys.pl");

    So that whenever I click on submit button in the browser, the .pl script should also run automatically.I am pretty much new to perl cgi