Errors, cont.
- Instead
my $ok = open MESSAGES, '>', 'msgs';
if ( ! $ok ) {
print "Oh no!\n";
}
| CPU: Perl, Fall 2005 | Perl, Week 4: More Arrays, Context, Subroutines, Lexical Variables | #29 |
my $ok = open MESSAGES, '>', 'msgs';
if ( ! $ok ) {
print "Oh no!\n";
}
| Copyright © 2005 Ian Langworth |