Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
doc constant
  • Loading branch information
gfldex committed Jan 22, 2016
1 parent 21754ba commit 568651e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/Language/terms.pod
Expand Up @@ -161,4 +161,10 @@ Returns the imaginary unit (for L<Complex> numbers).
Variables are discussed in the L<variable language docs |/language/variables>.
=head1 Constants
Constants are declared with C<constant> and do not require a sigil. The RHS is evaluated at compile time, what may be to early to make sense.
constant Pi = 3.123; # if you happen to be Babylonian
=end pod

0 comments on commit 568651e

Please sign in to comment.