From: "Mauricio Fernández" Date: 2003-01-17T07:16:01+09:00 Subject: Re: ruby-dev summary 19198-19345 On Fri, Jan 17, 2003 at 07:08:45AM +0900, Hal E. Fulton wrote: > > OK, I suggest an adaptation of the ordinary > here-document syntax. > > This is current behavior, no? > < <<'EOF' # non-interpolated > > Then let's have > <<| # interpolated > <<'|' # non-interpolated It breaks the current here-doc: s = <<'EOF' bla EOF s = <<'|' bla | # this is legal now but would no longer work. This is why I thought of '<<<'... > I'm trying to remember how the hyphen and > quote interact... is it -'EOF' or '-EOF'? > Or maybe neither? > > Simple things quickly become complex, > don't they? Welcome to the universe. No matter what, it seems here-docs would become more complex and I don't think matz will finally make it. -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com Beeping is cute, if you are in the office ;) -- Alan Cox