As the subject suggests, I'd like to dynamically export/import symbols from a source file into the global scope of the program. How would one accomplish this?
Given the below, it yields an error _which I expect_. How do I dynamically
pull in the subset 'What'?
File: Testing.pm6
--------------------------
subset What of Str;
class Testing {}
File: main.pl
--------------------------
{
my $c = 'Testing';
require ::($c);
my $t = ::($c).new;
}
my What $x = 'Blah'
--
__________________
:(){ :|:& };:
