ob-perl: fix result handling
commitf6bf19f898b1e89728db4e3be2b3c176a4067e53
authorAchim Gratz <Stromeko@Stromeko.DE>
Wed, 17 Apr 2013 19:38:21 +0000 (17 21:38 +0200)
committerAchim Gratz <Stromeko@Stromeko.DE>
Wed, 17 Apr 2013 19:40:15 +0000 (17 21:40 +0200)
treef3d1ddbc64d52ef42a6f00368bdf3809504f3221
parent99f88219951ca73bfea95e433211f566b354fedc
ob-perl: fix result handling

* lisp/ob-perl.el (org-babel-perl-wrapper-method): Select output
  handle only after evaluation so that output is not mixed into
  results eavaluation.
  (org-babel-perl-evaluate): Fix the handling of results for ":results
  output" to also parse tables.  Use the same lambda construction as
  in ob-sh.el to avoid code duplication.
lisp/ob-perl.el