CPU: Perl, Fall 2005 Perl, Week 2: Arrays, Hashes, Control Structures #35

Unequal Items

($apple, $orange) = qw( red orange blue );
# 'blue' is ignored
($fish, $steak) = ('smelly');
# $steak is undef
Copyright © 2005 Ian Langworth