ModernPerl

From WeBWorK_wiki
Jump to navigation Jump to search

Updating the perl coding style. There has been a lot of activity recently and bringing perl's coding style "up to date" using ideas from Ruby and Python among others and incorporating backward compatible ideas which will be included in Perl6. Of particular use are ideas related to

  • Exceptions
    • Exception::Class (on CPAN)
    • Try::Tiny (on CPAN)
  • Introspection

which would make it easier to correct bugs and write PG questions.

Tutorials/Texts

  • Modern Perl
  • Moose (object oriented syntax for perl)

http://search.cpan.org/~flora/Moose-2.0007/lib/Moose/Manual/Delta.pod http://search.cpan.org/~flora/Moose-2.0007/lib/Moose/Manual/Concepts.pod

Frameworks

  • POE
  • Dancer