Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • by hdp (1658) on 2008.01.23 9:37 (#60454) Journal
    Would you be less annoyed by a list of single-key hashes?

      - name:
          type: string
                  method: dummy_attribute
      - 'email*': { type: string }
      - 'phone+':
          method: phone_numbers
          type: string
      - active: { data: yes }
    • I like that. I do think it's clearer than what I had, but the existence of a hash implies that you can have multiple key/value pairs. Still, I don't think that's an expectation violation since these are island files with .bmd extensions and that means people should know they will need to read the docs.