On Wed, Aug 16, 2000 at 03:05:23PM -0000, Perl6 RFC Librarian wrote:
> With a here doc print <<ZZZ; the ZZZ has to be at the start of a line and
> the text of the here doc, is processed verbatum. This results in Here Docs
> that either stick out in the code, or result in unwanted leading whitespace.
> There are several FAQs that relate to this problem. This proposal tidies
> this up.
[snip]
> This will ignore all leading white space on each line until the end terminator
> is found. It effectively does s/^\s*// before processing each following line.
> It also ignores whitespace (but not the line termination) after
> the terminator.
So what's insufficient about:
print <<" EOF";
Stuff
More stuff
Even more stuff
EOF
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--