On 04/07/2017 10:31 PM, Gabor Szabo wrote:
strict function redeclaration prevention
Cool feature!
Many thanks,
-T
--
~
When we ask for advice, we are usually looking for an accomplice.
-- Charles Varlet de La Grange
~~~
That's indeed a good idea for documentation purposes and with the strict
function redeclaration
prevention of Perl 6 it might be sufficient as well.
regards
Gabor
On Sat, Apr 8, 2017 at 2:27 AM, ToddAndMargo wrote:
> On 04/07/2017 07:21 AM, Gabor Szabo wrote:
>
>> In perl 5 we can limit whic
On 04/07/2017 07:21 AM, Gabor Szabo 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
thanks!
On Fri, Apr 7, 2017 at 6:04 PM, Elizabeth Mattijsen wrote:
> https://docs.perl6.org/syntax/need
>
>> On 7 Apr 2017, at 16:59, Gabor Szabo 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 n
https://docs.perl6.org/syntax/need
> On 7 Apr 2017, at 16:59, Gabor Szabo 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 fr
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 wrote:
> Please check the d
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 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 tr
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-ti