emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rick Frankel <rick@rickster.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] Problems with perl babel output
Date: Tue, 16 Apr 2013 21:41:01 -0400	[thread overview]
Message-ID: <20130417014101.GA80733@BigDog.local> (raw)

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

             reply	other threads:[~2013-04-17  1:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-17  1:41 Rick Frankel [this message]
2013-04-17 20:08 ` [BUG] Problems with perl babel output Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130417014101.GA80733@BigDog.local \
    --to=rick@rickster.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).