On Thu, Nov 25, 2004 at 11:59:21AM -0600, Rod Adams wrote:
: Seeing the « in the context of a here-doc made me think "can you do a 
: »<< here-doc?"

Nope, you can only hyper operators, not terms.

: So, something like :
: 
: @text = »<<END;
: text1
: END
: 
: text2
: END
: 
: text3
: END
: 
: text4
: END
: 
: for @text { ...}
: 
: 
: 
: The hard question about this is: how do you know when you've hit the 
: last END? especially if the text you're loading looks like Perl code, or 
: if you have different <<END later in your code?

I think you have a really good place for a split there.  Then there's
no ambiguity about which is the internal separator and which is the
final delimiter.

: btw, should it be »<<, <<«, or »<<«?

Er, can I pick D?

Larry

Reply via email to