in reply to Re: size of an array ref
in thread size of an array ref
that's it! Thanks guys!
# array:
$ perl -wE 'my @a = qw/a b c/; say scalar @a'
3
# array ref:
$ perl -wE 'my $a = qw/a b c/; say scalar @$a'perfect!
|
---|
In Section
Seekers of Perl Wisdom