emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Problems with perl babel output
@ 2013-04-17  1:41 Rick Frankel
  2013-04-17 20:08 ` Achim Gratz
  0 siblings, 1 reply; 2+ messages in thread
From: Rick Frankel @ 2013-04-17  1:41 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-17 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-17  1:41 [BUG] Problems with perl babel output Rick Frankel
2013-04-17 20:08 ` Achim Gratz

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).