in reply to calling external program from CGI

Don't do that! Your perl program should start with
#!/usr/bin/perl -T
and you should read perlsec and Simple Module Tutorial

Replies are listed 'Best First'.
Re^2: calling external program from CGI
by stan131 (Acolyte) on May 07, 2009 at 08:58 UTC
    Monk - Yes my program starts with #!/usr/bin/perl -w. I am also able to capture the Query. But I need inputs on calling external programs.
    Thanks
      #!/usr/bin/perl -T called taint mode is different from #!/usr/bin/perl -w called warnings.
        Ok, I changed it to #!/usr/bin/perl -T , but now my CGI program does not display anything. How do I debug..?
        I have changed code to #!/usr/bin/perl -T but now it does not even display the page. How do I debug what is wrong. If I change it to -w it displays the page but no call to test_process.pl. Appreciate your help.
        I changed it to -T but now my CGI page wont come up. how do I debug. Appreciate your help.