Help for this page
- item (Scalar)
- types, as with item context
$foo + $bar # both sides in Num item context
$foo ~ $bar # both sides in Str 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
$pair2.value # >>> "d"
(e => 'f').key # >>> "e"
+%hash # >>> 2 # Num item context
An electronic device
Being the designated driver
Spending time with a celebrity
I never won anything
I never play the lottery
I haven't checked my spam folder recently
Results (354 votes). Check out past polls.