Example 1-3. examples/intro/comments.p6
#!/usr/bin/perl6 say "Hello"; # This is a single line comment #[ This is a multiline comment It starts by a # followed by an opening bracket and end with the bracket pair ] say #<< embedded comments >> "world"; #<<< but it has a bug now that it cannot start on the first character of a line >>>
See also Synopsis 2 - Whitespace and Comments
| Prev | Home (Copyright Gabor Szabo) Perl Training Israel | Next |
| Hello World | Up | POD - Plain Old Documentation |