On Mon, Oct 08, 2001 at 03:36:29PM -0600, Nathan Torkington wrote:
> Abigail writes:
> > I don't really like the change. What else could a variable '$array'
> > be, than a reference to an anonymous array? The sigil *does* carry
> > information - just like Larry intended it.
>
> Are you worried about "wasting" three letters in a piece of code in a
> document to help people? I think the code is better for having the
> longer name, is no harder to read, and will be more easily understood
> by beginners.
If the goal is to make it easier understood by beginners, I'd prefer
sub fisher_yates_shuffle {
# Note that $array is a reference to an array.
my $array = shift;
over
sub fisher_yates_shuffle {
my $arrayref = shift;
Abigail