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 Lenz wrote: >> Presumably you want here-docs, which can be indented in Perl 6: >> >>perl 6 code >>perl 6 code >>$script.say(Q:to); >> output code >> output code >> END >> >> The leading whitespace will

Re: indentation with multiple languages

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

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 > gr

indentation with multiple languages

2009-07-25 Thread Richard Hainsworth
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 graphical output, I use perl6 to compile