4.Heredoc Structural Form

Source: Internet
Author: User

We can solve this problem by using the heredoc structure form , first using the delimiter to represent the string (<<<), then providing an identifier after "<<<" GOD, then the string, Finally, the string is terminated with this identifier provided.

After assigning the symbol, enter the delimiter "<<<", followed by the identifier, you can use your goddess as the identifier "GOD", such as line 2nd, you can also use your favorite dog, "dog" as an identifier, but at the end of the identifier must be the same. In addition, at the end of a line, such as the 7th line, must be another row, and this line except "GOD", and ";" After the end, there can be no other characters, before and after can not have, including spaces, otherwise it will appear wrong oh. Remember, remember.

4.Heredoc Structural Form

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.