undef as a String
- Acts like '' when used as a string
print "In the box is a $big_mystery\n";
- Isn't this bad?
print "In the box is a $big_mystry\n";
- Solution: use warnings; (or perl -w)
| CPU: Perl, Fall 2005 | Perl, Week 2: Arrays, Hashes, Control Structures | #22 |
print "In the box is a $big_mystery\n";
print "In the box is a $big_mystry\n";
| Copyright © 2005 Ian Langworth |