Print debugging statement: Difference between revisions
m
→{{header|Perl 6}}: visited Rufus Xavier Sarsaparilla and got a pronoun
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: remove unnecessary parenthesis & whitespace) |
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: visited Rufus Xavier Sarsaparilla and got a pronoun) |
||
Line 121:
=={{header|Perl 6}}==
{{works with|Rakudo|2019.07.1}}
There isn't anything built-in to do this in Rakudo Perl 6, though
This example will report any payload contents passed to the exception. If you want specific information, it will need to be passed in, though some of it may be determinable through introspection. Reports the file
Comments with the files line numbers are added here to make it easier to match up the debug output with the file. Typically you would be editing the file in an editor that provides line numbering so that wouldn't be necessary/helpful.
|