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.
In reply to Re: Executing an application in Perl/CGI
by blazar
in thread Executing an application in Perl/CGI
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |