- void
- item (Scalar)
- Num
- Int
- ...
- Str
- Ref
- Array
- Hash
- HTML::Form
- ...
- list
- types, as with item context
####
$foo + $bar # both sides in Num item context
$foo ~ $bar # both sides in Str item context
my $quux = @foo; # right side in item context
my @bar = @foo; # right side in list context
my $num = +@foo; # right side in Num item context
print $foo, @foo; # both variables in Str list context
##
##
my %hash = (a => 'b', c => 'd'); # right side in list context
my ($pair1, $pair2) = %hash; # right side in list context
$pair1.key # >>> "a"
$pair1.value # >>> "b"
$pair2.key # >>> "c"
$pair2.value # >>> "d"
(e => 'f').key # >>> "e"
+%hash # >>> 2 # Num item context