From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?=C5=81ukasz?= Stelmach Subject: Re: [BUG] org-babel-perl and formats Date: Fri, 09 Apr 2010 22:53:27 +0200 Message-ID: <87tyrkxs8o.fsf@kotik.lan> References: <874ojm7py8.fsf@kotik.lan> <8739z6djv5.fsf@stats.ox.ac.uk> <87r5mpyoqi.fsf@dasa3.iem.pw.edu.pl> <87ochssqw1.fsf@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0LDU-0001QE-Vw for emacs-orgmode@gnu.org; Fri, 09 Apr 2010 16:54:17 -0400 Received: from [140.186.70.92] (port=35866 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0LDT-0001Ki-HU for emacs-orgmode@gnu.org; Fri, 09 Apr 2010 16:54:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0LCx-0003Kz-BR for emacs-orgmode@gnu.org; Fri, 09 Apr 2010 16:53:44 -0400 Received: from lo.gmane.org ([80.91.229.12]:36083) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0LCw-0003Ki-4t for emacs-orgmode@gnu.org; Fri, 09 Apr 2010 16:53:43 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O0LCr-0007kl-BF for emacs-orgmode@gnu.org; Fri, 09 Apr 2010 22:53:37 +0200 Received: from 77-255-243-16.adsl.inetia.pl ([77.255.243.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Apr 2010 22:53:37 +0200 Received: from lukasz.stelmach by 77-255-243-16.adsl.inetia.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Apr 2010 22:53:37 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Dan Davison writes: > Łukasz Stelmach writes: > [...] >> Format not terminated at - line 11, at end of line >> syntax error at - line 11, at EOF >> Execution of - aborted due to compilation errors. > > Oops. Sorry Łukasz, my mistake. > > You are of course right, we were adding indentation to perl code Arrrr! ;-) > Babel has two basic modes of execution: > :results value :: The default, you get the value of the last expression, interpreted as a list/table if possible. > :results output :: You get stdout [...] > (setq org-babel-default-header-args:perl '((:results . "output"))) > > The trouble with that is that perl blocks will not communicate nicely > with other blocks: [...] Thanks for the warning. It'd probably took me quite some time to investigate all those details. -- Miłego dnia, Łukasz Stelmach