Re: indentation with multiple languages

2009-07-25 Thread Moritz Lenz
Richard Hainsworth wrote: One of Masak's irritations with perl6 (http://use.perl.org/~masak/journal/39334) concerns interspacing POD and code. I ran into an analogous problem with a project I am trying to do with perl6. Since perl6 doesnt yet link to the gd library, and I need

Re: indentation with multiple languages

2009-07-25 Thread Mark J. Reed
On Sat, Jul 25, 2009 at 5:03 AM, Moritz Lenzmor...@faui2k3.org wrote: Presumably you want here-docs, which can be indented in Perl 6:    perl 6 code    perl 6 code    $script.say(Q:toEND);         output code         output code         END The leading whitespace will be pruned from the

Re: indentation with multiple languages

2009-07-25 Thread Moritz Lenz
Mark J. Reed wrote: On Sat, Jul 25, 2009 at 5:03 AM, Moritz Lenzmor...@faui2k3.org wrote: Presumably you want here-docs, which can be indented in Perl 6: perl 6 code perl 6 code $script.say(Q:toEND); output code output code END The leading whitespace