- or download this
@a = ()[1,0]; # @a has no elements
@b = (@a)[0,1]; # @b has no elements
@c = (0,1)[2,3]; # @c has no elements
- or download this
@a = (1)[1,0]; # @a has two elements
@b = (1,undef)[1,0,2]; # @b has three elements
- or download this
while ( ($home, $user) = (getpwent)[7,0]) {
printf "%-8s %s\n", $user, $home;
}
- or download this
while( ( $home, $user )= @results[7,0] ) {
...
}
- or download this
@c = (0,1)[2,3]; # @c has no elements
- or download this
@d= (1,2,3)[9,1,8]; # @d= (undef,2,undef);