We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ed43c4 + 0397c1f commit 2e26debCopy full SHA for 2e26deb
doc/Language/terms.pod6
@@ -174,6 +174,8 @@ Variables are discussed in the L<variable language docs |/language/variables>.
174
X<|constant (Terms)>
175
Constants are declared with C<constant> and do not require a sigil. The RHS is evaluated at compile time, what may be too early to make sense.
176
177
- constant Pi = 3.123; # if you happen to be Babylonian
+ constant SpeedOfLight = 299792458 # m/s
178
+ constant PHI = 1.61803398875 # The golden ratio is everywhere!
179
+
180
181
=end pod
0 commit comments