Skip Menu |

This queue is for tickets about the YAML-Tiny CPAN distribution.

Report information
The Basics
Id: 24936
Status: resolved
Priority: 0/
Queue: YAML-Tiny

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

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



Not a bug, just a wish that YAML::Tiny preserve the same API as YAML, so I can just change the use line. That is, lines like DumpFile 'player.yaml', $tourney->entrants; DumpFile 'tourney.yaml', $tourney; DumpFile 'pairing.yaml', $pairing; DumpFile 'matches.yaml', \@nextGame; DumpFile 'brackets.yaml', \@brackets; DumpFile 'round.yaml', $schedule; are too difficult to change to Tiny style. I would want $tourney->entrants->write('player.yaml') to work. Perhaps it does work. But I don't want to change the line at all. I don't want to have to change DumpFile 'matches.yaml', \@nextGame; to $nextGame = \@nextGame $nextGame->write('matches.yaml')
Added a while back, resolving