http://www.perlmonks.org?node_id=883531


in reply to Moose and static arrays

Where would you stop? What would you make an object? %King_Moves? Or should the list of possible moves also be objects? But even then, you can make the fields themselves objects as well. And fields are really intersections of rows and columns, so you could make row objects, column objects and intersection objects.

I would just leave it as is. Static data is just that, static data.

Replies are listed 'Best First'.
Re^2: Moose and static arrays
by hsmyers (Canon) on Jan 21, 2011 at 17:20 UTC
    Good point(s)! A solid case of nothing to be gained— leading to a strong 'if it is not broken then don't fix it' conclusion.

    --hsm

    "Never try to teach a pig to sing...it wastes your time and it annoys the pig."