in reply to scalar value of list assignment
See also ?node_id=3989;BIT=list%20scalar%20context.
Update: Duh; forgot to paste...
#!/usr/bin/perl use strict; use warnings; use 5.012; my @foo = qw(one two three); say @foo; my $val = @foo; say $val; =head output: onetwothree 3 =cut
|
|---|