in reply to RFC: Idiomless Perl

You speak of idiomatic, yet you go
$array = [ qw(foo bar) ]; # huh: a reference? $length = scalar @$sarray # huh: @$?
What's wrong with good old
@array = qw(foo bar); $length = scalar @array;
?

Replies are listed 'Best First'.
Re^2: RFC: Idiomless Perl
by chromatic (Archbishop) on Feb 06, 2007 at 04:09 UTC

    Useless use of scalar, for one, but that's in both examples.