On Nov 23, 2004, at 9:41 PM, Lothar Scholz wrote: > Hello Francis, > > FH> More generally, let me ask: What formats are people using to > persist > FH> Ruby objects to disk? What are pluses and minuses? I can't figure > out > FH> when I should use something like YAML and when I should use the > Marshal > FH> module and if there's anything else out there that people are > using, > FH> I'm probably going to get sort of confused but should probably hear > FH> about them anyway. > > If you want a readable object file that can edited by a human > (configuration file) use YAML otherwise use Marshal. > > You can read YAML file also with Python, Perl und PHP applications > Why wouldn't I just use YAML all the time? Are there certain types of classes that aren't going to turn into YAML well? Stability issues with YAML libs? (I've mostly used Marshal in the past, so pardon if my YAML questions are naive.) Francis Hwang http://fhwang.net/