in reply to Re^2: Lagrange Polynomials in Perl
in thread Lagrange Polynomials in Perl

Yes, it does, but I would rather write:
my $array_count = scalar @array;
or, omitting the scalar built-in unnecessary in scalar context:
my $array_count = @array;
But I often prefer to add the scalar built-in, even when not necessary, just to make my intent clearer to the maintainer (which, incidentally, one year from now, might be me, and such indication might prove useful to help me understand the intent of the code).

Update: removed the scalar word which I had forgotten to omit in the second snippet. Thanks to Athanasius for pointing it out.

Je suis Charlie.