Does Perl has the equivalent of Python's multiline strings?

Posted by Mike on Stack Overflow See other posts from Stack Overflow or by Mike
Published on 2010-05-20T18:36:34Z Indexed on 2010/05/21 15:01 UTC
Read the original article Hit count: 206

Filed under:
|

In python you can have a multiline string like this using a docstring

foo = """line1
line2
line3"""

Is there something equivalent in Perl?

© Stack Overflow or respective owner

Related posts about perl

Related posts about multiline