Hi, that your example was working was an accident. It is either: require "path/to/Foo.pm"; - or - require ::("Foo");
Cheers, FROGGS Am 26.09.2015 um 06:47 schrieb Gabor Szabo: > Hi, > > I am really glad Rakudo finally came out. > I've installed in and tried to run the tests of Perl6::Maven. > > They quickly failed as I have been using 'require' on string > to check if all the module compile properly. > > The following code now fails: > > use v6; > my $name = 'Bailador'; > require $name; > > > even though > > require Bailador; > > works. > > In 2015.07 both worked. > > > I've fixed my script by switching to EVAL "use $module"; > but I wonder if this is a regression or a planned deprecation? > > Gabor > >