user
Task

* verify the version/revision of your currently running (compiler/interpreter/byte-compiler/runtime environment/whatever your language uses) and exit if it is too old.
* check whether the variable "bloop" exists and whether the math-function "abs()" is available and if yes compute *abs(bloop)*.

Extra credit

* Report the number of integer variables in global scope, and their sum.
assistant
(formerly Perl 6)

```
my $bloop = -123;

if MY::{'$bloop'}.defined and CORE::{'&abs'}.defined { say abs $bloop }

my @ints = ($_ when Int for PROCESS::.values);
say "Number of PROCESS vars of type Int: ", +@ints;
say "PROCESS vars of type Int add up to ", [+] @ints;

```

Output:

```
123
Number of PROCESS vars of type Int: 1
PROCESS vars of type Int add up to 28785
```

Obviously Raku doesn't maintain a lot of global integer variables... :-)

Nevertheless, you can use similar code to access all the variables in any package you like,
such as the GLOBAL package, which typically has absolutely nothing in it. Since the PROCESS package is even more global than GLOBAL, we used that instead. Go figure...