in reply to Re^3: Basic Times Table excercise
in thread Basic Times Table excercise
Perl5/Perl6 are different but won't interfere on the same box any more than Ruby and Python would. Perl5 has HEREDOCs too; syntax is a bit different.
print <<""; Some things on more than one line with a TRAILING NEWLINE # ^^^ blank line matches "" in print and ends statement print <<"orWITHyourOwnSTYLEendTag"; Some things on... orWITHyourOwnSTYLEendTag
A lot of devs find the "" blank line ending HEREDOC a bit offensive/dangerous but I like it. :P More: Here documents, or how to create multi-line strings in Perl.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Basic Times Table excercise
by jibberjabber (Novice) on Feb 19, 2016 at 15:04 UTC |