Skip Menu |

This queue is for tickets about the Games-Tournament-Swiss CPAN distribution.

Report information
The Basics
Id: 30331
Status: new
Priority: 0/
Queue: Games-Tournament-Swiss

People
Owner: Nobody in particular
Requestors: DRBEAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.14
Fixed in: (no value)



Subject: scripts should be given default config
I think a script shouldn't have to specify a default configuration. I thought differently before, apparently. Or I didn't think differently, and this is a bug. Running the pair script, I don't want to have to put scores and roles in the league.yaml file. I see in the tests, it is setting default stuff in a BEGIN block. I guess I thought the modules should be agnostic about whether it is a chess tournament, or some other kind of tournament. I see however that the usual chess scores, roles, abbrevns are defaults to the same-named methods in Games::Tournament::Swiss::Config. Why aren't these loaded when you use Games::Touranment::Swiss::Config?