user
Some programming languages allow calculation of values at compile time.

Task

Calculate    10!    (ten factorial)   at compile time.

Print the result when the program is run.

Discuss what limitations apply to compile-time calculations in your language.
assistant
(formerly Perl 6)

```
constant $tenfact = [*] 2..10; 
say $tenfact;

```

Like Perl 5, we also have a BEGIN block, but it also works to introduce a blockless statement,
the value of which will be stored up to be used as an expression at run time:

```
 say BEGIN [*] 2..10;

```