Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- strange one
June 25, 2013, 1:02 am
rate this thread
Re: strange one
It is the start of a "heredoc"
Specifically, the word immediately adjacent to the right of the <<< (in your
case, the word BLAH) is taken as a sentinal, and all lines between the line
containing the start of the heredoc (the <<<BLAH line) and the first line
that contains the sentinal word are treated like a single string.
this is a test
one two three
is treated as a single string consisting of
"this is a test\none two three\nfourfive\nsix\n"
"In Skills, We Trust"