DEV Community

Discussion on: 5 Ways You Can Embrace the Magic of Perl

Collapse
 
kes777 profile image
Eugen Konkov

my $bar = (1, 2, 3); # scalar context, $bar contains 3

Not good example. 3 because it is last element or 3 because of count of elements?