--- Aristotle Pagaltzis <[EMAIL PROTECTED]> wrote: > * Ovid <[EMAIL PROTECTED]> [2008-04-07 10:35]: > > However, it's been suggested that we do this: > > > > not ok 2 - some test > > --- > > results: > > have: ... > > X-want: ... > > Secure: y > ^^^^^^ Is that supposed to be `X-secure`?
Yes, that should have been 'X-Secure'. > > ... > > ok 3 - another test > > > > By requiring user keys to begin with 'X-', it's visually > > distinct, immediately clear to the user, it follows conventions > > used in mail and HTML headers, and if it's wrong, it's easy to > > change. > > A full `X-` would be a bit heavy, visually. How about requring > punctuation as the first character? Such as a colon or dash and run the risk of breaking YAML parsers? Plus, but just making it 'X-', it's easy to sort, user supplied keys are at the bottom and it's simple to extract those keys. However, at the end of the day, it's Schwern you'll have to convince. He's quite adamant about upper-case characters. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid/cgi_course/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http://use.perl.org/~Ovid/journal/