Last active
August 15, 2016 23:01
-
-
Save timo/9036c265cebe28765a8ebda6624eceb3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
timo@schmetterling /tmp [1]> perl6 heredoc_mistake.txt | |
===SORRY!=== | |
Variable '$bar' is not declared | |
at /tmp/heredoc_mistake.txt:7 | |
------> sub test(⏏$bar) { } | |
Other potential difficulties: | |
Ignored the heredoc delimiter 'EOF' earlier, because there was some garbage before the end-of-line: ';'. | |
at /tmp/heredoc_mistake.txt:5 | |
------> <BOL>⏏ EOF; | |
timo@schmetterling /tmp [1]> cat heredoc_mistake.txt | |
say qq:to/EOF/; | |
Hey | |
how | |
are you? | |
EOF; | |
sub test($bar) { } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment