Skip to content

[doc] perlop: add additional simpler example of using "<<" with "()" #20886

@jidanni

Description

@jidanni

On perlop there is a rather complex example of using << with ():

   myfunc(<< "THIS", 23, <<'THAT');
Here's a line
or two.
THIS
and here's another.
THAT

There perhaps ought to be a an additional simpler example first,

print uc(<<EOF);
abc
EOF

Except I don't know where on that page to put it.

Perhaps someone could put something like that somewhere on that page. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions