<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Go, go, Gadget Guessing! I was right.<br>
<br>
<b>function_type</b><b>.p6:</b><br>
<hr size="2" width="100%"><tt>#!/usr/bin/env perl6<br>
<br>
use v6;<br>
<br>
my $foo = sub {<br>
 return 'foo';<br>
}<br>
<br>
say $foo.WHAT;</tt><tt></tt><br>
<hr size="2" width="100%"><b>Output:</b><br>
<hr size="2" width="100%"><tt>$ ./function_type.p6 <br>
(Sub)</tt><tt></tt><br>
</body>
</html>