Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Multiline string not display correctly #131

Open
cristianpsg opened this issue Oct 28, 2019 · 1 comment
Open

Multiline string not display correctly #131

cristianpsg opened this issue Oct 28, 2019 · 1 comment

Comments

@cristianpsg
Copy link

Hi,
When you have a variable with multiple lines could either not show the content of the variable at all or just display the first or last line.
Use the code below to reproduce the issue.

#!/usr/bin/perl

print "Testing\n";
my $foo = <<END_MESSAGE;
                    MULTIPLE LINES ISSUE 1
                    MULTIPLE LINES ISSUE 2
                    MULTIPLE LINES ISSUE 3
                    MULTIPLE LINES ISSUE 4
                    MULTIPLE LINES ISSUE 5
                    MULTIPLE LINES ISSUE 6
                    MULTIPLE LINES ISSUE 7
                    MULTIPLE LINES ISSUE 8
                    MULTIPLE LINES ISSUE 9
                    MULTIPLE LINES ISSUE 10
END_MESSAGE

my $foo2 = qq /
                    MULTIPLE LINES ISSUE 1
                    MULTIPLE LINES ISSUE 2
                    MULTIPLE LINES ISSUE 3
                    MULTIPLE LINES ISSUE 4
                    MULTIPLE LINES ISSUE 5
                    MULTIPLE LINES ISSUE 6
                    MULTIPLE LINES ISSUE 7
                    MULTIPLE LINES ISSUE 8
                    MULTIPLE LINES ISSUE 9
                    MULTIPLE LINES ISSUE 10
            /;

my $foo3 = $foo1.$foo2;

print "Done\n";
@hoehrmann
Copy link
Collaborator

Possibly fixed by #91

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants