Warn, but don't Die
- Warn is like die, but it won't end the program
if ( ! $success ) {
warn "There was a problem: $message";
}
more_stuff();
| CPU: Perl, Fall 2005 | Perl, Week 4: More Arrays, Context, Subroutines, Lexical Variables | #35 |
if ( ! $success ) {
warn "There was a problem: $message";
}
more_stuff();
| Copyright © 2005 Ian Langworth |