in reply to Re: Re: Re: 2D arrays & mo' better blues
in thread 2D arrays & mo' better blues

It's true that square brackets make a reference to a new copy of the array. But the multiplication operator then takes 26 copies of that reference.

I was originally going to post the same solution, but before I did, I checked it in the debugger :)

--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me

  • Comment on Re: Re: Re: Re: 2D arrays & mo' better blues