D M German <dmg <at> uvic.ca> writes:
>   print $BO join($/, @r), $/ ;

Sorry, this should really be:

print $BO join(qq($/), @r), qq($/);

Anyway, I think I'll have to rework the wrapper to be an anonymous subroutine so
that the (reasonably expactable) "return @foo;" at the end of the program (or in
the middle if so desired) continues to work.

Also, I just checked that noweb syntax does work for code execution, so the
prefix you wanted to have is easy enough to add via Library of Babel:

#+name: prefix
#+begin_src perl
# Santa's little helpers
#+end_src

#+begin_src perl :noweb yes
<<prefix>>
&help();
#+end_src

In light of this, I think we should not implement the "preface" change as its
effects can be had without obscuring things too much.


Regards,
Achim.


Reply via email to