in reply to Re: At what level of structural complexity is Moose a win-win?
in thread At what level of structural complexity is Moose a win-win?
Remember that associating a distinct identity with a data structure adds clarity and helps reduce bugs.
Using an object:
use Currency; my $amt = new Currency;
And not:
my $amt = [0,0];
And two screens down in the code:
my $oldAmt = $amt;
But which file are you in?
|
|---|