You seem to be getting yourself confused by the fat commas in the Perl.

This:

@rules = (
  'p' => {
    'style' => 0,
    'class' => 1,
  },
);

is equivalent to this:

@rules = (
  'p',
  {
    'style' => 0,
    'class' => 1,
  },
);

so your YAML should look like this:

  - p
  - style: 0
    class: 1

Ronald
_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to