https://docs.perl6.org/syntax/need
> On 7 Apr 2017, at 16:59, Gabor Szabo <szab...@gmail.com> wrote: > > Thanks. I was only looking at https://docs.perl6.org/syntax/use > > Looking at that doc you linked to, I have a related quest I could not see: > > Is there a way to tell Rakudo to not to import any function from the module? > > Gabor > > > On Fri, Apr 7, 2017 at 5:37 PM, Will Coleda <w...@coleda.com> wrote: >> 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