From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: [BUG] Problems with perl babel output Date: Tue, 16 Apr 2013 21:41:01 -0400 Message-ID: <20130417014101.GA80733@BigDog.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USHMz-0000jv-OC for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 21:41:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USHMu-0004cU-EL for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 21:41:09 -0400 Received: from [204.62.15.78] (port=35436 helo=mail.rickster.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USHMu-0004bu-6a for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 21:41:04 -0400 Received: from BigDog.local (pool-72-89-40-63.nycmny.fios.verizon.net [72.89.40.63]) by mail.rickster.com (Postfix) with ESMTPS id E14B020C72 for ; Tue, 16 Apr 2013 21:41:03 -0400 (EDT) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi- Overall, Achim's updates to perl babel processing have been fantastic. But there seems to be a problem with :result output -- there is no way to get a table. Also, if the results are :value, the stdout is mixed in with the returned results. Here are some examples: * perl results ** default (value) #+BEGIN_SRC perl print "a\t1\n"; #+END_SRC #+results: | a | 1 | | 1 | | #+BEGIN_SRC perl print "a\t1\n"; undef; #+END_SRC #+results: | a | 1 | #+BEGIN_SRC perl "a\t1\n"; #+END_SRC #+results: | a | 1 | ** output #+BEGIN_SRC perl :results output print "a\t1\n"; undef; #+END_SRC #+results: : a 1 #+BEGIN_SRC perl :results output table print "a\t1\n"; undef; #+END_SRC #+results: : a 1