This is a discussion on difference between die and exit in perl within the Perl forums, part of the Software Development category; Hi please tell me the difference between die and exit in perl?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi, die :Outside an eval, prints the value of LIST to STDERR and exits with the current value of $! (errno). exit : Evaluates EXPR and exits immediately with that value. This universally recognized values for EXPR are 0 for success and 1 for error. Don't use exit in subroutine. -R.Gopi |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting started with PERL | Murali | Perl | 3 | 10-04-2008 11:37 PM |
| what is perl? | inder | Perl | 2 | 09-25-2008 05:10 AM |
| How to set Perl Interpreter within perl script | sivaramakrishnan | Perl | 1 | 07-19-2007 06:45 AM |
| When would you not use Perl for a project? | vadivelanvaidyanathan | Perl | 0 | 07-15-2007 07:24 PM |
| Perl? | swoosh | Perl | 2 | 03-19-2007 04:31 AM |