Help for this page
- void - item (Scalar) ... - ... - list - 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
www.com | www.net | www.org
No recent polls found