pdl / Articulate

Lightweight Perl CMS Framework
Other
2 stars 2 forks source link

Single-key instantiation #26

Closed pdl closed 9 years ago

pdl commented 9 years ago

It would be good if single-key hashrefs could be instantiated as class+args, so all these mean the same:

- Articulate::Class
- Articulate::Class: {}
- class: Articulate::Class
  args: {}