* Perrin Harkins ([EMAIL PROTECTED]) wrote:
> Glancing at the YAML docs, it looks like putting "----" between those
> would make them parseable as records, so maybe we'll use that after all.

YAML is _very_ buggy.

    http://rt.cpan.org/NoAuth/Bugs.html?Dist=YAML

Also from the YAML POD...

    WARNING: This is *ALPHA* code.

    BIGGER WARNING: This is *TRIAL1* of the YAML 1.0 specification. The 
    YAML syntax may change before it is finalized. Based on past 
    experience, it probably will change. The authors of this spec have 
    worked for over a year putting together YAML 1.0, and we have 
    flipped it on it's syntactical head almost every week. We're a 
    fickle lot, we are. So use this at your own risk!!!

Why not just keep it simple, and put text files in a directory and name
them (so you can easily determine order via sort glob)

    $year-$month-$day-$hh$mm-filename_safe_headline

and then in the file, make almost e-mail-like

    Author: Philippe M. Chiasson <gozer@
    Title: How mod_perl saved my life!
    Reference: http://www.cnn.com/mod_perl_saved_my_life.html
    Date: 2004-08-09
    Story Image: http://gozer.ectoplasm.org/me.gif
    Category: Success Stories
                                           <-- blank line
    the abstract goes here... la la la
    ---------
    the rest of the story goes here la la la

I've just had a bad go with YAML a couple of times.  Thought it was the
best thing since sliced bread, until I dumped something to YAML
and couldn't load it :(

BTW, got my darn e-mail fixed... stupid default debian exim install was
rewriting my envelope From and my Sender: header to my user account
instead of the address in my "From:" header.

-- Jeff Bisbee / [EMAIL PROTECTED] / jbisbee.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to