in reply to Executing an application in Perl/CGI

system 'cmd.exe /c notepad.exe' || die "Cannot execute notepad.exe";

Do you really want to launch notepad on the machine running the webserver? Why so?!?

Update: anyway, you got system's return value and ||'s precedence wrong, please read the docs.

Replies are listed 'Best First'.
Re^2: Executing an application in Perl/CGI
by Anonymous Monk on May 22, 2007 at 19:22 UTC
    Its just a proof of concept.