On Thu Nov 06 22:00:28 2014, SILLYMOOS wrote:
Show quoted text> On Wed Oct 22 18:35:26 2014, DANAJ wrote:
> > Grain for food [14]: 13
> > Land to buy at 19 HL/HA [0]:
> > Land to sell at 18 HL/HA [0]: 100
> > Can't modify non-lvalue subroutine call at blib/lib/Games/Dukedom.pm
> > line 634, <> line 37.
> >
> > which is:
> >
> > $self->land += $land->trades;
>
> Changing this line to be
>
> $self->{land}
>
> Fixes the issue.
>
Another one: Can't modify non-lvalue subroutine call at lib/Games/Dukedom.pm line 1078
Changing line 1078 to:
$self->{grain} += $grain->spoils;
resolves I think. Attached is patched *pm file.