in reply to breaking long code lines
Two things come to mind: you don't need the apostrophes, $game{board}{proposedworduser} will interpolate just fine. Another thing is that with a temporary variable, you can factor out the $game{'board'} derefs.
my $g = $game{'board'}; $g{stat} = "$playerin submits $g{proposedworduser} $g{proposedscore} p +oints";
Now, if those hash keys weren't so long, you'd be in business :)
update: that should probably read $g->{stat}, but you knew that already...
- another intruder with the mooring of the heat of the Perl
|
|---|