system('some_command') && die 'cannot execute some_command'; # or system 'some_command' and die 'cannot execute some_command';
Update: Fixed precedence and added another example with and. Thanks, kyle and blazar :-)
Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!
In reply to Re: Executing an application in Perl/CGI
by naikonta
in thread Executing an application in Perl/CGI
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |