Please check the docs at https://docs.perl6.org/language/modules#Exporting_and_Selective_Importing
On Fri, Apr 7, 2017 at 10:21 AM, Gabor Szabo <szab...@gmail.com> wrote: > In perl 5 we can limit which functions are imported by listing them > after the name of the module: > > use Module ('foo', 'bar'); > > When I try the same in Rakudo I get > > "no EXPORT sub, but you provided positional argument in the 'use' statement" > > > At least in this case: > > use WWW::Google::Time 'google-time-in'; > > ===SORRY!=== Error while compiling /opt/google_time.pl > Error while importing from 'WWW::Google::Time': > no EXPORT sub, but you provided positional argument in the 'use' statement > at /opt/google_time.pl:2 > ------> use WWW::Google::Time 'google-time-in'⏏; > > Using Rakudo Star 2017.01 > > regards > Gabor -- Will "Coke" Coleda